Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Encryption adapter for mcrypt
$_encryption = 'array'
Definitions for encryption array( 'key' => encryption key string 'algorithm' => algorithm to use 'algorithm_directory' => directory where to find the algorithm 'mode' => encryption mode to use 'modedirectory' => directory where to find the mode )
$_srandCalled = 'false'
__construct(
string|array|Zend_Config $options
)
:
Class constructor
_closeCipher(
resource $cipher
)
:
Zend_Filter_Encrypt_Mcrypt
Close a cipher
_initCipher(
resource $cipher
)
:
resource
Initialises the cipher with the set key
_openCipher(
)
:
resource
Open a cipher
_srand(
)
:
_srand() interception
decrypt(
string $value
)
:
string
Defined by Zend_Filter_Interface
Decrypts the file $value with the defined settings
encrypt(
string $value
)
:
string
Defined by Zend_Filter_Interface
Encrypts the file $value with the defined settings
getEncryption(
)
:
array
Returns the set encryption options
getVector(
)
:
string
Returns the set vector
setEncryption(
string|array $options
)
:
Zend_Filter_File_Encryption
Sets new encryption options
setVector(
string $vector
=
null
)
:
Zend_Filter_Encrypt_Mcrypt
Sets the initialization vector
toString(
)
:
string
Returns the adapter name