Home
last modified time | relevance | path

Searched refs:iv (Results 1 – 12 of 12) sorted by relevance

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DPKCS1.php96 * @param string $iv
100 private static function generateSymmetricKey($password, $iv, $length) argument
103 $iv = substr($iv, 0, 8);
105 $symkey .= md5($symkey . $password . $iv, true);
139 $iv = Strings::hex2bin(trim($matches[2]));
147 … $crypto->setKey(self::generateSymmetricKey($password, $iv, $crypto->getKeyLength() >> 3));
148 $crypto->setIV($iv);
184 $iv = Random::string($cipher->getBlockLength() >> 3);
185 $cipher->setKey(self::generateSymmetricKey($password, $iv, $cipher->getKeyLength() >> 3));
186 $cipher->setIV($iv);
[all …]
H A DPKCS8.php415 $cipher->setIV($iv);
581 $iv = Random::string($crypto->getBlockLength() >> 3);
591 $params = ['octetString' => $iv];
595 'iv' => $iv
613 $crypto->setIV($iv);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/
H A DSymmetricKey.php234 protected $iv = false; variable in phpseclib3\\Crypt\\Common\\SymmetricKey
706 * @param string $iv
710 public function setIV($iv) argument
724 if (strlen($iv) != $this->block_size) {
725 …throw new \LengthException('Received initialization vector of size ' . strlen($iv) . ', but size '…
728 $this->iv = $this->origIV = $iv;
1155 $oldIV = $this->iv;
1156 Strings::increment_str($this->iv);
1159 $cipher->setIV($this->iv);
1168 $cipher->encryptIV = $this->iv = $this->encryptIV = $this->decryptIV = $oldIV;
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DTripleDES.php193 * @param string $iv
195 public function setIV($iv) argument
197 parent::setIV($iv);
199 $this->des[0]->setIV($iv);
200 $this->des[1]->setIV($iv);
201 $this->des[2]->setIV($iv);
H A DSalsa20.php315 $iv = pack('V', $this->counter) . $this->p2;
321 $iv
352 $iv = pack('V', $buffer['counter']) . $this->p2;
360 $iv
378 $iv = pack('V', $buffer['counter']) . $this->p2;
385 $iv
H A DRandom.php138 $iv = sha1($seed . 'C', true);
167 $crypto->setIV(substr($iv, 0, $crypto->getBlockLength() >> 3));
H A DRijndael.php506 if (is_string($this->iv) && strlen($this->iv) != $this->block_size) {
507 …throw new InconsistentSetupException('The IV length (' . strlen($this->iv) . ') does not match the…
/dokuwiki/inc/lang/fi/
H A Dregistermail.txt7ivämäärä : @DATE@
H A Dmailtext.txt3ivämäärä : @DATE@
H A Dsubscr_single.txt10ivä : @DATE@
/dokuwiki/inc/
H A Dauth.php465 $iv = auth_randombytes(16);
468 $cipher->setIV($iv);
476 return $cipher->encrypt($iv . $data);
490 $iv = substr($ciphertext, 0, 16);
493 $cipher->setIV($iv);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH2.php1968 $iv = $kexHash->hash($keyBytes . $this->exchange_hash . 'A' . $this->session_id);
1969 while ($this->encrypt_block_size > strlen($iv)) {
1970 $iv .= $kexHash->hash($keyBytes . $this->exchange_hash . $iv);
1972 $this->encrypt->setIV(substr($iv, 0, $this->encrypt_block_size));
2013 $iv = $kexHash->hash($keyBytes . $this->exchange_hash . 'B' . $this->session_id);
2014 while ($this->decrypt_block_size > strlen($iv)) {
2015 $iv .= $kexHash->hash($keyBytes . $this->exchange_hash . $iv);
2017 $this->decrypt->setIV(substr($iv, 0, $this->decrypt_block_size));