Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Hashing Password PHP

Name: Anonymous 2009-08-08 2:12

Would this be more or less secure than just a simple sha1 + hash?


$hash = sha1('salt' . md5('salt' . sha1($pass)));

Name: Anonymous 2009-08-08 2:14

* sha1 + salt

My bad.

Name: Anonymous 2009-08-08 2:19

$hash = sha1('salt' . md5('salt' . sha1($pass)). $pass);
would be more secure, or more simply:
$hash = sha1($salt1 . $pass . $salt2);

Name: Anonymous 2009-08-08 3:56

Performing the has in PHP is insecure in itself.

Name: Anonymous 2011-02-18 20:32


Don't change these.
Name: Email:
Entire Thread Thread List