Lines Matching refs:Hash
58 use phpseclib3\Crypt\Hash;
1721 $kexHash = new Hash('sha512');
1724 $kexHash = new Hash('sha384');
1731 $kexHash = new Hash('sha256');
1734 $kexHash = new Hash('sha1');
2023 if ($this->hmac_create instanceof Hash) {
2044 if ($this->hmac_check instanceof Hash) {
2155 * \phpseclib3\Crypt\Hash.
2158 * @return array{Hash, int}|null
2165 return [new Hash('umac-64'), 16];
2168 return [new Hash('umac-128'), 16];
2171 return [new Hash('sha512'), 64];
2174 return [new Hash('sha256'), 32];
2177 return [new Hash('sha1'), 20];
2179 return [new Hash('sha1-96'), 20];
2181 return [new Hash('md5'), 16];
2183 return [new Hash('md5-96'), 16];
3634 if (!$this->hmac_check instanceof Hash || !$this->hmac_check_etm) {
3676 if ($this->hmac_check instanceof Hash) {
3770 case $this->hmac_check instanceof Hash && $this->hmac_check_etm:
4319 case $this->hmac_create instanceof Hash && $this->hmac_create_etm:
4330 if ($this->hmac_create instanceof Hash && !$this->hmac_create_etm) {
4376 $packet = $this->hmac_create instanceof Hash && $this->hmac_create_etm ?
4382 if ($this->hmac_create instanceof Hash && $this->hmac_create_etm) {