I may be wrong here, but from what I understand, no 2 hashes are ever the same. Certainly, when I md5 the word "password" twice, I get two different hashes.
If the user's password is "password123", then the hash will be something like "482c811da5d5b4bc6d497ffa98491e38"
If the user enters their password when logging in at a later date, the hash of password123 is: "286755fad04869ca523320acce0dc6a4"
How can I compare the 2 hashes if they're different for the exact same word?