added hashservice.py;
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import hashlib
|
||||
|
||||
|
||||
def create_sha512(b: bytes):
|
||||
h = hashlib.sha512()
|
||||
h.update(b)
|
||||
return h.hexdigest()
|
||||
Reference in New Issue
Block a user