What would be the most secure and safest way to protect a users password?
At the moment my script is using md5 which is a 32 bit encryption but Ive read that if the encrypted code is found out by someone it can be bruteforced and then the password can be revealed.
Should I for example use more than one encryption method... For example salt or something...
Comments
but if its encrypted twice it is so much harder... almost impossible.
or instead of using md5 a random string of about 16 characters could be created and this could be used to generate the encrypted passwords in conjunction with the actual password.
I just want it to be as secure as possible...
The Royal Ram
Photoshop Tutorials- Coming soon
Premium PHP Scripts- Coming soon
Haha i should really do some work so i can remove all the coming soon's
If you are still uneasy about MD5 being "broken", then try mixing two different hash algorithms:
[php]$pass = sha1( md5( $pass ) );[/php]
Webmaster-Talk.com
Chroder.com