02-15-2012, 08:14 PM
Sorry for the hashes.
So I did :
$salt_as_string = hex2string($salt);
But
do not work better.
Quote:You don't get the same hash because you don't use the salt.
Quote:also notice the salt is encoded in hex
So I did :
$salt_as_string = hex2string($salt);
But
Code:
SHA1($salt_as_string, "password")