2020-11-30 19:15:43 +01:00

8 lines
112 B
Python

import hashlib
def create_sha512(b: bytes):
h = hashlib.sha512()
h.update(b)
return h.hexdigest()