mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-09 23:31:00 +00:00
Crypt/Base: trie -> true
This commit is contained in:
parent
fc2a7cef20
commit
e64a55955f
@ -2578,7 +2578,7 @@ abstract class Base
|
||||
$len = strlen($bytes);
|
||||
for ($i = 0; $i < $len; $i+=20) {
|
||||
$t = substr($bytes, $i, 20);
|
||||
$hash = sha1($hash, trie);
|
||||
$hash = sha1($hash, true);
|
||||
$result .= $t ^ $hash;
|
||||
}
|
||||
return $result . sha1($hash, true);
|
||||
|
Loading…
Reference in New Issue
Block a user