How people stores the password in database?

A

Anonymous

Guest
Hi,
I need some help with storing password in mysql database or something similar.

i used to store the password in database using md5() function but there is no way to retrieve the

password back.

Now i want to know that -
is it standard and secure way to store password?
is there any other technique to store password so i can retrive it back?

Any advice on this would be highly appreciated.

Thanks
Paresh
 
Hi,

It is a standard way to secure passwords. Only the owner should know the decrypted value of the password, so apparently there is no need for anyone to be able to decrypt it.

For encryption-decryption algorithms, i think there is the mcrypt library... have a look at http://www.php.net/mcrypt

Regards.
 
Back
Top