6 lines
72 B
Python

from hashlib import sha256
def hash(x):
return sha256(x).digest()