lnbits-legend/LNbits/helpers.py
2019-12-13 17:59:40 +01:00

6 lines
98 B
Python

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