Decoding hash for login script
Asked by
xyz_User
So basically doing an authentication for the compiled script using JSON file that contains a username and password. Everything is working just fine until I get to this function:
It seems to fail right on the thrid line: hsh = hashlib.
import hashlib
import binascii
def _verify_pw(str_pw, prv_pw):
salt = str_pw[:64]
str_pw = str_pw[64:]
hsh = hashlib.
hsh = binascii.
return hsh == str_pw
any suggestions?
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
To post a message you must log in.