Commit 536c971a authored by avrstud's avatar avrstud
Browse files

fix: #339

parent 17bf10a1
Pipeline #3296 passed with stage
in 4 minutes and 1 second
...@@ -70,7 +70,7 @@ def hashNT(password): ...@@ -70,7 +70,7 @@ def hashNT(password):
""" """
hash_str = hashlib.new("md4", password.encode("utf-16le")).digest() 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): def checkPassword(challenge_password, password):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment