Find out the difference between hashes and encryption. Encryption is usually a two-way string interpretation. I can encrypt my password and then decrypt it again to plaintext. The idea of ββhashes is that they become one-way "encryption."
On my sites, I store passwords as hashes. Anytime a user signs up, I reuse their provided password, check it for a hash stored in the database, and confirm if they match. I cannot send them my password if they forget it, because (as a rule) I have nothing to know. Two lines can go into the same hash, which makes it impossible (as a rule) to figure out what the original line is.
This is one of the problems that is good for understanding and recognizing when to use encryption against hashes.
Sampson Aug 03 '09 at 19:06 2009-08-03 19:06
source share