View Single Post
Old 04-26-2008, 07:44 PM   #21 (permalink)
Mathew
The Wanderer
 
Join Date: Feb 2008
Posts: 15
Thanks: 2
Mathew is on a distinguished road
Default

I generate the dynamic hash from something that changes its value all the time. microtime() will do the trick here.

Also, you never unhash a password already hashed, what you want to do is hash the input password with the same algorithm and see if the passwords match each other.

Yes, I store the dynamic hash value in a field with in the users table row.
Mathew is offline  
Reply With Quote