Files
lnbits/LNbits/helpers.py
T

6 lines
98 B
Python

import hashlib
def encrypt(string: str):
return hashlib.sha256(string.encode()).hexdigest()