mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-19 18:11:30 +01:00
6 lines
98 B
Python
6 lines
98 B
Python
import hashlib
|
|
|
|
|
|
def encrypt(string: str):
|
|
return hashlib.sha256(string.encode()).hexdigest()
|