This website works better with JavaScript.
Home
Explore
Help
Sign In
lukechilds
/
lnbits
mirror of
https://github.com/lukechilds/lnbits.git
Watch
1
Star
0
Fork
0
Code
Issues
Projects
Releases
Wiki
Activity
36
Commits
14
Branches
6
Tags
13 MiB
Python
46%
HTML
44.4%
JavaScript
9%
SCSS
0.3%
Makefile
0.2%
Tree:
582aaa812b
lnbits
/
LNbits
/
helpers.py
5 lines
98 B
Raw
Blame
History
import
hashlib
def
encrypt
(
string
:
str
)
:
return
hashlib
.
sha256
(
string
.
encode
(
)
)
.
hexdigest
(
)
Reference in new issue