Home
last modified time | relevance | path

Searched refs:newtag (Results 1 – 4 of 4) sorted by relevance

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DSalsa20.php248 $this->newtag = $this->poly1305($ciphertext);
270 $newtag = $this->poly1305($ciphertext);
271 if ($this->oldtag != substr($newtag, 0, strlen($this->oldtag))) {
H A DRijndael.php971 …$this->newtag = sodium_crypto_aead_aes256gcm_encrypt($plaintext, $this->aad, $this->nonce, $this->…
972 return Strings::shift($this->newtag, strlen($plaintext));
980 $this->newtag,
H A DChaCha20.php133 $this->newtag = $this->usingGeneratedPoly1305Key && strlen($this->nonce) == 12 ?
163 $newtag = $this->poly1305($ciphertext);
164 if ($this->oldtag != substr($newtag, 0, strlen($this->oldtag))) {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/
H A DSymmetricKey.php520 protected $newtag = false; variable in phpseclib3\\Crypt\\Common\\SymmetricKey
1169 $this->newtag = $cipher->encrypt($s);
1178 $this->newtag = $this->poly1305($ciphertext);
1539 $newtag = $this->poly1305($ciphertext);
1555 $newtag = $cipher->encrypt($s);
1557 if ($this->oldtag != substr($newtag, 0, strlen($newtag))) {
1901 if ($this->newtag === false) {
1915 $this->newtag :
1916 substr($this->newtag, 0, $length);