mirror of
https://github.com/lnbits/lnbits.git
synced 2025-03-29 19:23:38 +01:00
6 lines
98 B
Python
6 lines
98 B
Python
import hashlib
|
|
|
|
|
|
def encrypt(string: str):
|
|
return hashlib.sha256(string.encode()).hexdigest()
|