Home
last modified time | relevance | path

Searched refs:encrypt (Results 1 – 16 of 16) sorted by relevance

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DTripleDES.php277 public function encrypt($plaintext) function in phpseclib3\\Crypt\\TripleDES
284 return $this->des[2]->encrypt(
286 $this->des[0]->encrypt(
293 return parent::encrypt($plaintext);
308 $this->des[1]->encrypt(
H A DRandom.php183 $i = $crypto->encrypt(microtime()); // strlen(microtime()) == 21
184 $r = $crypto->encrypt($i ^ $v); // strlen($v) == 20
185 $v = $crypto->encrypt($r ^ $i); // strlen($r) == 20
H A DRC4.php167 public function encrypt($plaintext) function in phpseclib3\\Crypt\\RC4
170 return parent::encrypt($plaintext);
H A DRC2.php391 public function encrypt($plaintext) function in phpseclib3\\Crypt\\RC2
396 $result = parent::encrypt($plaintext);
401 return parent::encrypt($plaintext);
H A DSalsa20.php161 $block = $c->encrypt(str_repeat("\0", 256));
244 public function encrypt($plaintext) function in phpseclib3\\Crypt\\Salsa20
H A DRijndael.php965 public function encrypt($plaintext) function in phpseclib3\\Crypt\\Rijndael
985 return parent::encrypt($plaintext);
H A DHash.php463 return $this->c->encrypt(str_repeat("\0", $numbytes));
500 $t = $c->encrypt("\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0");
H A DChaCha20.php81 public function encrypt($plaintext) function in phpseclib3\\Crypt\\ChaCha20
89 return parent::encrypt($plaintext);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH2.php432 private $encrypt = false; variable in phpseclib3\\Net\\SSH2
1731 …$encrypt = self::array_intersect_first($c2s_encryption_algorithms, $this->encryption_algorithms_cl…
1732 …if (!$encrypt || ($encryptKeyLength = $this->encryption_algorithm_to_key_size($encrypt)) === null)…
1957 $this->encrypt = self::encryption_algorithm_to_crypt_instance($encrypt);
1958 if ($this->encrypt) {
1960 $this->encrypt->setPreferredEngine(self::$crypto_engine);
1962 if ($this->encrypt->getBlockLengthInBytes()) {
1963 $this->encrypt_block_size = $this->encrypt->getBlockLengthInBytes();
1965 $this->encrypt->disablePadding();
1967 if ($this->encrypt->usesIV()) {
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/
H A DSymmetricKey.php1146 public function encrypt($plaintext) function in phpseclib3\\Crypt\\Common\\SymmetricKey
1160 $ciphertext = $cipher->encrypt($plaintext);
1169 $this->newtag = $cipher->encrypt($s);
1177 $ciphertext = $cipher->encrypt($plaintext);
1555 $newtag = $cipher->encrypt($s);
2787 $encrypt = $init_encrypt . '
2815 $encrypt = $init_encrypt . '
2891 $encrypt = $init_encrypt . '
2990 $encrypt = $init_encrypt . '
3036 $encrypt = $init_encrypt . '
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DPKCS1.php192 chunk_split(Strings::base64_encode($cipher->encrypt($key)), 64) .
H A DOpenSSH.php215 $paddedKey = $crypto->encrypt($paddedKey);
H A DPuTTY.php344 $private = $crypto->encrypt($private);
H A DPKCS8.php626 $key = $crypto->encrypt($key);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/
H A DPublicKey.php451 public function encrypt($plaintext) function in phpseclib3\\Crypt\\RSA\\PublicKey
/dokuwiki/inc/
H A Dauth.php476 return $cipher->encrypt($iv . $data);