>Well then, by all means do encrypt the data - I was answering a question of Dmitry's - not an obscure Denis popping up
The thing is - I think I now understood. I was actually updating my reply. You store hash value in a database. You will never be able to get the original value of the password back. When the user types a password, you take the hash and then compare it with the stored hash in the table.
If it's not broken, fix it until it is.
My Blog