Searched refs:hmac (Results 1 – 8 of 8) sorted by relevance
| /dokuwiki/_test/tests/inc/ |
| H A D | PassHash.test.php | 14 … $this->assertEquals('df08aef118f36b32e29d2f47cda649b6', PassHash::hmac('md5','data','secret')); 15 …$this->assertEquals('9818e3306ba5ac267b5f2679fe4abd37e6cd7b54', PassHash::hmac('sha1','data','secr… 18 $this->assertEquals('74e6f7298a9c2d168935f58c001bad88', PassHash::hmac('md5','','')); 19 … $this->assertEquals('fbdb1d1b18aa6c08324b7d64b71fb76370690e1d', PassHash::hmac('sha1','','')); 20 …$this->assertEquals('80070713463e7749b90c2dc24911e275', PassHash::hmac('md5','The quick brown fox … 21 …$this->assertEquals('de7c9b85b8b78aa6bc8a7a36f70a90701c9db4d9', PassHash::hmac('sha1','The quick b…
|
| H A D | common_ml.test.php | 127 $hash = substr(\dokuwiki\PassHash::hmac('md5', $id, auth_cookiesalt()), 0, 6);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/ |
| H A D | AsymmetricKey.php | 63 private $hmac; variable in phpseclib3\\Crypt\\Common\\AsymmetricKey 110 $this->hmac = new Hash('sha256'); 483 $new->hmac = new Hash($hash); 513 $this->hmac->setKey($k); 514 $k = $this->hmac->hash($v . "\0" . $x . $h1); 515 $this->hmac->setKey($k); 516 $v = $this->hmac->hash($v); 517 $k = $this->hmac->hash($v . "\1" . $x . $h1); 518 $this->hmac->setKey($k); 519 $v = $this->hmac->hash($v); [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/ |
| H A D | PuTTY.php | 265 $hmac = trim(preg_replace('#Private-MAC: (.+)#', '$1', $key[$offset + $privateLength])); 266 $hmac = Strings::hex2bin($hmac); 268 if (!hash_equals($hash->hash($source), $hmac)) {
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/ |
| H A D | SSH2.php | 3684 $hmac = Strings::pop($raw, $this->hmac_size); 3741 if (!hash_equals($hmac, $this->hmac_check->hash($reconstructed))) { 3746 …if (!hash_equals($hmac, $this->hmac_check->hash(pack('Na*', $this->get_seq_no, $reconstructed)))) { 4437 $hmac = ''; 4441 $hmac = $this->hmac_create->hash($packet); 4443 $hmac = $this->hmac_create->hash(pack('Na*', $this->send_seq_no, $packet)); 4493 $hmac = $this->hmac_create->hash($packet); 4495 $hmac = $this->hmac_create->hash(pack('Na*', $this->send_seq_no, $packet)); 4501 $packet .= $this->encrypt && $this->encrypt->usesNonce() ? $this->encrypt->getTag() : $hmac;
|
| /dokuwiki/inc/ |
| H A D | PassHash.php | 841 public static function hmac($algo, $data, $key, $raw_output = false) function in dokuwiki\\PassHash
|
| H A D | common.php | 120 return PassHash::hmac('md5', $session . $user, auth_cookiesalt());
|
| H A D | media.php | 1872 return substr(PassHash::hmac('md5', $token, auth_cookiesalt()), 0, 6);
|