added hashservice.py;

This commit is contained in:
Marco Zeisler 2020-11-30 19:15:43 +01:00
parent 1f444cce27
commit dc9912f90c

View File

@ -0,0 +1,7 @@
import hashlib
def create_sha512(b: bytes):
h = hashlib.sha512()
h.update(b)
return h.hexdigest()