From 536c971ae6c36167a5e6b85ef0b863fef005ec9c Mon Sep 17 00:00:00 2001 From: avrstud Date: Wed, 26 May 2021 22:27:18 +0200 Subject: [PATCH] fix: #339 --- re2o/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/re2o/login.py b/re2o/login.py index 3776d52a..6dfbca3a 100644 --- a/re2o/login.py +++ b/re2o/login.py @@ -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):