diff --git a/phpseclib/Crypt/Base.php b/phpseclib/Crypt/Base.php index 780a344b..e3cc7b87 100644 --- a/phpseclib/Crypt/Base.php +++ b/phpseclib/Crypt/Base.php @@ -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);