Searched refs:decrypt (Results 1 – 8 of 8) sorted by relevance
6 * Uses mcrypt, if available, and an internal implementation, otherwise. Operates in the EDE3 mode (encrypt-decrypt-encrypt).25 * echo $des->decrypt($des->encrypt($plaintext));45 * Encrypt / decrypt using inner chaining52 * Encrypt / decrypt using outer chaining279 // parent::en/decrypt() is able to do all the work for all modes and keylengths,285 $this->des[1]->decrypt(299 * @see \phpseclib3\Crypt\Common\SymmetricKey::decrypt()303 public function decrypt($ciphertext)307 $this->des[0]->decrypt(309 $this->des[2]->decrypt(322 function decrypt($ciphertext) global() function in phpseclib\\Crypt\\TripleDES [all...]
33 * echo $rc4->decrypt($rc4->encrypt($plaintext));162 * @see \phpseclib3\Crypt\Common\SymmetricKey::decrypt()178 * $this->decrypt($this->encrypt($plaintext)) == $this->encrypt($this->encrypt($plaintext)).186 public function decrypt($ciphertext)189 return parent::decrypt($ciphertext);244 * @see self::decrypt()249 function decrypt($ciphertext) global() function in phpseclib\\Crypt\\RC4
25 * echo $rc2->decrypt($rc2->encrypt($plaintext));68 * @see self::decrypt()387 * @see self::decrypt()407 * Mostly a wrapper for \phpseclib3\Crypt\Common\SymmetricKey::decrypt, with some additional OpenSSL handling code413 public function decrypt($ciphertext)418 $result = parent::decrypt($ciphertext);423 return parent::decrypt($ciphertext);474 * @see \phpseclib3\Crypt\Common\SymmetricKey::decrypt()541 // Init code for both, encrypt and decrypt.546 // $in is the current 8 bytes block which has to be en/decrypt419 function decrypt($ciphertext) global() function in phpseclib\\Crypt\\RC2 [all...]
8 * Here's an example of how to encrypt and decrypt text with this library:20 * echo $private->decrypt($ciphertext);87 * @see self::decrypt()98 * @see self::decrypt()105 * Although this method is not recommended it can none-the-less sometimes be useful if you're trying to decrypt some legacy109 * @see self::decrypt()3235 function decrypt($ciphertext) global() function in phpseclib\\Crypt\\RSA
385 private $decrypt = false;1656 $decrypt = self::array_intersect_first($s2c_encryption_algorithms, $this->encryption_algorithms_server_to_client);1657 $decryptKeyLength = $this->encryption_algorithm_to_key_size($decrypt);1954 $this->decrypt = self::encryption_algorithm_to_crypt_instance($decrypt);1955 if ($this->decrypt) {1957 $this->decrypt->setPreferredEngine(self::$crypto_engine);1959 if ($this->decrypt->getBlockLengthInBytes()) {1960 $this->decrypt_block_size = $this->decrypt->getBlockLengthInBytes();1962 $this->decrypt403 var $decrypt = false; global() variable in phpseclib\\Net\\SSH2 [all...]
470 return $cipher->decrypt(substr($ciphertext, 16));