Home
last modified time | relevance | path

Searched refs:setKey (Results 1 – 15 of 15) sorted by relevance

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DAES.php103 public function setKey($key) function in phpseclib3\\Crypt\\AES
114 parent::setKey($key);
H A DTripleDES.php241 public function setKey($key) function in phpseclib3\\Crypt\\TripleDES
264 $this->des[0]->setKey(substr($key, 0, 8));
265 $this->des[1]->setKey(substr($key, 8, 8));
266 $this->des[2]->setKey(substr($key, 16, 8));
H A DRC4.php149 public function setKey($key) function in phpseclib3\\Crypt\\RC4
156 parent::setKey($key);
H A DRandom.php166 $crypto->setKey(substr($key, 0, $crypto->getKeyLength() >> 3));
H A DRC2.php331 public function setKey($key, $t1 = false) function in phpseclib3\\Crypt\\RC2
522 $this->setKey('');
H A DDES.php621 public function setKey($key) function in phpseclib3\\Crypt\\DES
628 parent::setKey($key);
H A DSalsa20.php103 public function setKey($key) function in phpseclib3\\Crypt\\Salsa20
113 parent::setKey($key);
H A DTwofish.php417 public function setKey($key) function in phpseclib3\\Crypt\\Twofish
428 parent::setKey($key);
H A DRijndael.php218 public function setKey($key) function in phpseclib3\\Crypt\\Rijndael
231 parent::setKey($key);
H A DHash.php214 public function setKey($key = false) function in phpseclib3\\Crypt\\Hash
498 $c->setKey($kp);
1021 $this->c->setKey($this->key);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DPuTTY.php243 $hash->setKey($hashkey);
247 $hash->setKey(sha1($hashkey, true));
254 $crypto->setKey($symkey);
307 $hash->setKey('');
311 $hash->setKey(sha1('putty-private-key-file-mac-key', true));
329 $hash->setKey($hashkey);
338 $hash->setKey(sha1($hashkey, true));
341 $crypto->setKey($symkey);
H A DPKCS1.php147 … $crypto->setKey(self::generateSymmetricKey($password, $iv, $crypto->getKeyLength() >> 3));
185 $cipher->setKey(self::generateSymmetricKey($password, $iv, $cipher->getKeyLength() >> 3));
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/
H A DAsymmetricKey.php502 $this->hmac->setKey($k);
504 $this->hmac->setKey($k);
507 $this->hmac->setKey($k);
524 $this->hmac->setKey($k);
H A DSymmetricKey.php893 public function setKey($key) function in phpseclib3\\Crypt\\Common\\SymmetricKey
945 $this->setKey(substr($key, 0, $keylen));
1025 $this->setKey(self::pkcs12helper($dkLen, $hashObj, $i, $d1, $count));
1041 $this->setKey(substr($key, 0, $dkLen >> 1));
1049 $hashObj->setKey($password);
1068 $this->setKey($key);
1158 $cipher->setKey($this->key);
1544 $cipher->setKey($this->key);
3259 $cipher->setKey($this->key);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH2.php1996 $this->lengthEncrypt->setKey(substr($key, 32, 32));
1998 $this->encrypt->setKey(substr($key, 0, $encryptKeyLength));
2042 $this->lengthDecrypt->setKey(substr($key, 32, 32));
2044 $this->decrypt->setKey(substr($key, 0, $decryptKeyLength));
2076 $this->hmac_create->setKey(substr($key, 0, $createKeyLength));
2097 $this->hmac_check->setKey(substr($key, 0, $checkKeyLength));