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.php981 …$this->newtag = sodium_crypto_aead_aes256gcm_encrypt($plaintext, $this->aad, $this->nonce, $this->…
982 return Strings::shift($this->newtag, strlen($plaintext));
990 $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
1174 $this->newtag = $cipher->encrypt($s);
1183 $this->newtag = $this->poly1305($ciphertext);
1544 $newtag = $this->poly1305($ciphertext);
1560 $newtag = $cipher->encrypt($s);
1562 if ($this->oldtag != substr($newtag, 0, strlen($newtag))) {
1906 if ($this->newtag === false) {
1920 $this->newtag :
1921 substr($this->newtag, 0, $length);