Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: ode("utf-8") print("Hashing Password") newHash = hashlib.sha1() newHash.update(userPassword + PreSalt) hashedPassword = str(newHash.hexdigest()) print ("This is the hashed Password = '" + str(newHash.hexdigest()) + "'") preHashedPassword = "3b0acbcffbcaf692b83d218077e279bb41c921b8" print ("This is the Pre hashed Password = '" + str(preHashedPassword) + "'\nChecking the password with the one stored.") if (preHashedPassword == hashedPassword): […]
↧