i wanna to have the two way encrption..ie if a password is encrypted then it can be decrypted to send it if the user forgets his password....
Tell me the best two way encryption function in PHP...
Thanks u in advance
two way encryption prob??
Moderator: General Moderators
You could always use a "Secret question" system in combination with a "reset password" system where if they get the secret question correct, then a new pass is generated (reset) and e-mailed to them.
Personally I prefer an irreversable way like above, so if my site files and database data was compromised some how, the passwords are still secure for the most part.
But if you prefer having the option to decrypt, then take a look at the link feyd suggested.
Personally I prefer an irreversable way like above, so if my site files and database data was compromised some how, the passwords are still secure for the most part.
But if you prefer having the option to decrypt, then take a look at the link feyd suggested.