Encryption adapter for mcrypt
category | Zend |
---|---|
package | Zend_Filter |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct(string|array|\Zend_Config $options)
string
array
\Zend_Config
Cryption Options
decrypt(string $value) : string
Decrypts $value with the defined settings
inherited_from | \Zend_Filter_Encrypt_Interface::decrypt() |
---|
string
Content to decrypt
string
The decrypted contentencrypt(string $value) : string
Encrypts $value with the defined settings
inherited_from | \Zend_Filter_Encrypt_Interface::encrypt() |
---|
string
The content to encrypt
string
The encrypted contentgetCompression() : array
array
getEncryption() : array
array
getVector() : string
string
setCompression(string|array $compression) : \Zend_Filter_Encrypt_Mcrypt
string
array
\Zend_Filter_Encrypt_Mcrypt
setEncryption(string|array $options) : \Zend_Filter_File_Encryption
string
array
Encryption options
\Zend_Filter_File_Encryption
setVector(string $vector = null
) : \Zend_Filter_Encrypt_Mcrypt
string
(Optional) Vector to set
\Zend_Filter_Encrypt_Mcrypt
toString() : string
string
_closeCipher(resource $cipher) : \Zend_Filter_Encrypt_Mcrypt
resource
Cipher to close
\Zend_Filter_Encrypt_Mcrypt
_initCipher(resource $cipher) : resource
resource
resource
_openCipher() : resource
\Zend_Filter_Exception |
When the cipher can not be opened |
---|
resource
Returns the opened cipher$_compression : array
$_encryption
array('key' => 'ZendFramework', 'algorithm' => 'blowfish', 'algorithm_directory' => '', 'mode' => 'cbc', 'mode_directory' => '', 'vector' => null, 'salt' => false)
$_srandCalled
false