diff --git a/phpseclib/Crypt/Hash.php b/phpseclib/Crypt/Hash.php index ca421ace..faa17c57 100644 --- a/phpseclib/Crypt/Hash.php +++ b/phpseclib/Crypt/Hash.php @@ -178,7 +178,7 @@ class Crypt_Hash */ function Crypt_Hash($hash = 'sha1') { - $this->__construct($mode); + $this->__construct($hash); } /**