6 lines
102 B
Python
6 lines
102 B
Python
import hashlib
|
|
|
|
|
|
def digest(value: str) -> str:
|
|
return hashlib.sha256(value.encode()).hexdigest()
|