8 lines
152 B
Python
8 lines
152 B
Python
|
|
import passlib.hash
|
||
|
|
|
||
|
|
def lmhash(s):
|
||
|
|
return passlib.hash.lmhash.encrypt(s).upper()
|
||
|
|
|
||
|
|
def nthash(s):
|
||
|
|
return passlib.hash.nthash.encrypt(s).upper()
|