8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-21 10:53:11 +00:00
This commit is contained in:
avrstud 2021-05-26 22:27:18 +02:00
parent 17bf10a1d6
commit 536c971ae6

View file

@ -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):