#42 fixed PHP notice in LM hash
This commit is contained in:
parent
7146be7ecf
commit
56fe32cad6
|
@ -293,7 +293,7 @@ private $sbox = array(array(array(14, 4, 13, 1, 2, 15, 11, 8, 3, 10, 6, 12
|
||||||
for ($i = 0; $i < 8; $i++) {
|
for ($i = 0; $i < 8; $i++) {
|
||||||
$out[$i] = 0;
|
$out[$i] = 0;
|
||||||
}
|
}
|
||||||
for ($i = 0; $i < 65; $i++) {
|
for ($i = 0; $i < 64; $i++) {
|
||||||
if ( $outb[$i] ) {
|
if ( $outb[$i] ) {
|
||||||
$out[$i/8] |= (1<<(7-($i%8)));
|
$out[$i/8] |= (1<<(7-($i%8)));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue