MCPcopy
hub / github.com/ethereum/research / hash

Function hash

spec_pythonizer/utils/hash.py:6–6  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

4
5# def hash(x): return sha256(x).digest()
6def hash(x): return keccak(x)

Callers 8

merkleizeFunction · 0.90
mix_in_lengthFunction · 0.90
test_deposit_in_blockFunction · 0.90
test_deposit_top_upFunction · 0.90
test_transferFunction · 0.90
merkle_minimal.pyFile · 0.90

Calls

no outgoing calls

Tested by 3

test_deposit_in_blockFunction · 0.72
test_deposit_top_upFunction · 0.72
test_transferFunction · 0.72