upgrade to django 1.11.16 and python3.6
This commit is contained in:
parent
b32465e85f
commit
bc0258ea8f
17 changed files with 155 additions and 84 deletions
7
smbpasswd.py
Normal file
7
smbpasswd.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import passlib.hash
|
||||
|
||||
def lmhash(s):
|
||||
return passlib.hash.lmhash.encrypt(s).upper()
|
||||
|
||||
def nthash(s):
|
||||
return passlib.hash.nthash.encrypt(s).upper()
|
||||
Loading…
Add table
Add a link
Reference in a new issue