Encrypt PHP Password PHP

mon-webmaster

New member
I want to discuss with you about the preferable way to encrypt password. I have a website with very sensitive information saved in the profiles of my users which are registered. I want my sensitive information specifically the password to be Encrypted so that in case of hack attempt or any other bad event the passwords does not get passed to the unintended people.

Please share with me the best method you guys think i must be using to achieve this task. I was just looking at PHP crypt function help from a PHP book i have and it says that this will encrypt the string to DES, Blowfish, or MD5 algorithms format. Does any body have any idea what algo out of these 3 will be more useful in my case to encrypt passwords in PHP and later on decrypt it when they have to be used in the other parts of my PHP code.
 
Back
Top