Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
38
def
_dsha256(b):
39
return
hashlib.sha256(hashlib.sha256(b).digest()).digest()
40
41
42
def
hkdf_sha256(ikm, salt, info, length):
Callers
1
test_zero_length_upfront_shutdown_script
Function · 0.85
Calls
1
digest
Method · 0.80
Tested by
no test coverage detected