6 lines
98 B
Python
6 lines
98 B
Python
import hashlib
|
|
|
|
|
|
def encrypt(string: str):
|
|
return hashlib.sha256(string.encode()).hexdigest()
|