mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 16:05:00 -05:00
7 lines
129 B
Python
7 lines
129 B
Python
from hashlib import sha256
|
|
from eth_utils import keccak
|
|
|
|
|
|
# def hash(x): return sha256(x).digest()
|
|
def hash(x): return keccak(x)
|