7 lines
132 B
Python
Raw Normal View History

2019-03-26 07:17:08 -06:00
from hashlib import sha256
# from eth_utils import keccak
2019-03-18 12:51:52 -06:00
2019-03-26 07:17:08 -06:00
def hash(x): return sha256(x).digest()
# def hash(x): return keccak(x)