Possible Duplicate:
Secure hash and salt for PHP passwords
What is the best way to prepare a password for insertion into a database, i am aware of md5, but i was wondering if there where some more features/encryptions i could do to it.
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You really don’t want to encrypt passwords, but rather a hash of the password which you just ‘match’ against.
Storing passwords is very insecure and encryption can be broken, a one way hash cannot*
References on SO:
**yet, that I know of*