mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-21 10:53:11 +00:00
fix: #339
This commit is contained in:
parent
17bf10a1d6
commit
536c971ae6
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ def hashNT(password):
|
|||
|
||||
"""
|
||||
hash_str = hashlib.new("md4", password.encode("utf-16le")).digest()
|
||||
return binascii.hexlify(hash_str).upper()
|
||||
return binascii.hexlify(hash_str).upper().decode('utf-8')
|
||||
|
||||
|
||||
def checkPassword(challenge_password, password):
|
||||
|
|
Loading…
Reference in a new issue