MCPcopy Create free account
hub / github.com/ElementsProject/lightning / _dsha256

Function _dsha256

tests/test_opening.py:38–39  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

36
37
38def _dsha256(b):
39 return hashlib.sha256(hashlib.sha256(b).digest()).digest()
40
41
42def hkdf_sha256(ikm, salt, info, length):

Calls 1

digestMethod · 0.80

Tested by

no test coverage detected