Why is the output of werkzeugs `generate_password_hash` not constant?
The password is salted, yes. The salt is added to the password before hashing, to ensure that the hash isn’t useable in a rainbow table attack. Because the salt is randomly generated each time you call the function, the resulting password hash is also different. The returned hash includes the generated salt so that can … Read more