Length of my hash
#4
Furthermore...
I don't know if this is the correct repository (or at least an up-to-date fork), but the code is here (https://github.com/berkus/usercake/blob/...cs.php#L81 ):
$salt . sha1($salt . $plainText);

This implies that the output format is $salt concatenated w/ the hash, which was generated as sha1 ($salt.$pass).
Therefore, the salt is at the beginning (25 chars), then comes the hash.

You just need to edit the format *from*:
$salt.$hash
into
$hash:$salt
(with the colon and of length 40:25 instead of 65 == 25+40)

Then you just need to have -m 120 and the hash/hashfile in the command line.


Messages In This Thread
Length of my hash - by marriott81 - 02-19-2014, 01:12 PM
RE: Length of my hash - by philsmd - 02-19-2014, 01:33 PM
RE: Length of my hash - by marriott81 - 02-19-2014, 01:36 PM
RE: Length of my hash - by philsmd - 02-19-2014, 01:47 PM
RE: Length of my hash - by marriott81 - 02-19-2014, 02:03 PM