Question Everything!
New member
E.g. sha1(md5(sha1($password)));
Is this more secure then just sha1($password);
_______________________________________
Im trying to use both md5 and sha1 hashers to make the most secure hashed string, is this the most secure way?
------
function dualHash($string) {
$salt = "erqXIeXHPkqi";
$dualHash1 = sha1($string.$salt);
$dualHash2 = md5($string.$salt);
$dualHash = substr($dualHash1,0,24).substr($dualHash2,0,16);
return $dualHash;
}
------
Is this more secure then just sha1($password);
_______________________________________
Im trying to use both md5 and sha1 hashers to make the most secure hashed string, is this the most secure way?
------
function dualHash($string) {
$salt = "erqXIeXHPkqi";
$dualHash1 = sha1($string.$salt);
$dualHash2 = md5($string.$salt);
$dualHash = substr($dualHash1,0,24).substr($dualHash2,0,16);
return $dualHash;
}
------