We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 906cb6d commit 5ce4d4dCopy full SHA for 5ce4d4d
lib/utils/hash.py
@@ -327,8 +327,10 @@ def _encode64(input_, count):
327
328
return output
329
330
+ password = password.encode(UNICODE_ENCODING)
331
+
332
cipher = md5(salt)
- cipher.update(password.encode(UNICODE_ENCODING))
333
+ cipher.update(password)
334
hash_ = cipher.digest()
335
336
for i in xrange(count):
0 commit comments