8 lines
112 B
Python
8 lines
112 B
Python
import hashlib
|
|
|
|
|
|
def create_sha512(b: bytes):
|
|
h = hashlib.sha512()
|
|
h.update(b)
|
|
return h.hexdigest()
|