Need some help, and i have got some questions to ask as well.
View Single Post
10-20-2008, 11:17 AM
Join Date: Nov 2007
A good thing for storing passwords is to encrypt them and to use a salt with that like you said. An example would be
$salt = "Some short string here";
$password = md5( $salt . sha1($password));
So then when you create the account you would use this on the password before inserting it to the db, as well as when that user logs in. This way their password is always encrypted, providing more security.
iSearchNotes.com - Share College Student Notes
The Following User Says Thank You to CoryMathews For This Useful Post:
View Public Profile
Send a private message to CoryMathews
Visit CoryMathews's homepage!
Find More Posts by CoryMathews