Searched refs:nonce (Results 1 – 8 of 8) sorted by relevance
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
| H A D | Salsa20.php | 119 * @param string $nonce 121 public function setNonce($nonce) argument 123 if (strlen($nonce) != 8) { 127 $this->nonce = $nonce; 150 if ($this->nonce === false) { 197 if ($this->nonce === false) { 221 $this->nonce .
|
| H A D | Hash.php | 111 private $nonce = false; variable in phpseclib3\\Crypt\\Hash 235 * @param string $nonce 237 public function setNonce($nonce = false) argument 240 case !is_string($nonce): 241 case strlen($nonce) > 0 && strlen($nonce) <= 16: 243 $this->nonce = $nonce; 500 $nonce = $this->nonce; 507 $last = strlen($nonce) - 1; 509 $index = $nonce[$last] & $mask; 510 $nonce[$last] = $nonce[$last] ^ $index; [all …]
|
| H A D | Rijndael.php | 277 $this->nonce && strlen($this->nonce) == 12 && 981 …s->newtag = sodium_crypto_aead_aes256gcm_encrypt($plaintext, $this->aad, $this->nonce, $this->key); 989 $this->nonce, 1018 …m_crypto_aead_aes256gcm_decrypt($ciphertext . $this->oldtag, $this->aad, $this->nonce, $this->key); 1033 $this->nonce,
|
| H A D | ChaCha20.php | 123 $params = [$plaintext, $this->aad, $this->nonce, $this->key]; 124 $ciphertext = strlen($this->nonce) == 8 ? 133 $this->newtag = $this->usingGeneratedPoly1305Key && strlen($this->nonce) == 12 ? 149 $params = [$ciphertext, $this->aad, $this->nonce, $this->key]; 155 if ($this->usingGeneratedPoly1305Key && strlen($this->nonce) == 12) { 171 $plaintext = strlen($this->nonce) == 8 ? 181 * @param string $nonce 183 public function setNonce($nonce) argument 185 if (!is_string($nonce)) { 196 switch (strlen($nonce)) { [all …]
|
| /dokuwiki/inc/ |
| H A D | template.php | 424 $nonce = getenv('NONCE'); 430 if ($nonce && $tag == 'script' && !empty($attr['_data'])) { 431 $attr['nonce'] = $nonce; // add nonce to inline script tags 457 $nonce = getenv('NONCE'); 458 if ($nonce) { 459 $script = '<script nonce="' . $nonce . '">' . $script . '</script>';
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/ |
| H A D | SymmetricKey.php | 593 protected $nonce = false; variable in phpseclib3\\Crypt\\Common\\SymmetricKey 787 * @param string $nonce 790 public function setNonce($nonce) argument 796 $this->nonce = $nonce; 2476 if ($this->nonce === false) { 3273 if (strlen($this->nonce) == 12) { 3274 $this->iv = $this->nonce . "\0\0\0\1"; 3277 self::nullPad128($this->nonce) . str_repeat("\0", 8) . self::len64($this->nonce)
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/ |
| H A D | SSH2.php | 1983 … $nonce = $kexHash->hash($keyBytes . $this->exchange_hash . 'A' . $this->session_id); 1984 $this->encryptFixedPart = substr($nonce, 0, 4); 1985 $this->encryptInvocationCounter = substr($nonce, 4, 8); 2029 … $nonce = $kexHash->hash($keyBytes . $this->exchange_hash . 'B' . $this->session_id); 2030 $this->decryptFixedPart = substr($nonce, 0, 4); 2031 $this->decryptInvocationCounter = substr($nonce, 4, 8); 4465 $nonce = pack('N2', 0, $this->send_seq_no); 4467 $this->encrypt->setNonce($nonce); 4468 $this->lengthEncrypt->setNonce($nonce);
|
| /dokuwiki/lib/scripts/jquery/ |
| H A D | jquery.min.js | 2 …nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)f… property
|