11-12-2016, 11:06 AM
function udb_hash($buf) {
$length=strlen($buf);
$s1 = 1;
$s2 = 0;
for($n=0; $n<$length; $n++)
{
$s1 = $s1 + ord($buf[$n]) % 65521;
$s2 = $s2 + $s1 % 65521;
}
return ($s2 << 16) + $s1;
}
Is it possible to crack a hash with this algorithm since it isn't implemented with hashcat? Or would I need to make a request?
$length=strlen($buf);
$s1 = 1;
$s2 = 0;
for($n=0; $n<$length; $n++)
{
$s1 = $s1 + ord($buf[$n]) % 65521;
$s2 = $s2 + $s1 % 65521;
}
return ($s2 << 16) + $s1;
}
Is it possible to crack a hash with this algorithm since it isn't implemented with hashcat? Or would I need to make a request?