Property | Type | Description | |
---|---|---|---|
$_compression | array | Internal compression | |
$_encryption | 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 |
Method | Description | |
---|---|---|
__construct ( string | array | Zend_Config $options ) | Class constructor | |
decrypt ( string $value ) : string | Defined by Zend_Filter_Interface | |
encrypt ( string $value ) : string | Defined by Zend_Filter_Interface | |
getCompression ( ) : array | Returns the compression | |
getEncryption ( ) : array | Returns the set encryption options | |
getVector ( ) : string | Returns the set vector | |
setCompression ( string | array $compression ) : Zend_Filter_Encrypt_Mcrypt | Sets a internal compression for values to encrypt | |
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 |
Method | Description | |
---|---|---|
_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 |
public __construct ( string | array | Zend_Config $options ) | ||
$options | string | array | Zend_Config | Cryption Options |
protected _closeCipher ( resource $cipher ) : Zend_Filter_Encrypt_Mcrypt | ||
$cipher | resource | Cipher to close |
return | Zend_Filter_Encrypt_Mcrypt |
protected _initCipher ( resource $cipher ) : resource | ||
$cipher | resource | |
return | resource |
protected _openCipher ( ) : resource | ||
return | resource | Returns the opened cipher |
public getCompression ( ) : array | ||
return | array |
public getEncryption ( ) : array | ||
return | array |
public setCompression ( string | array $compression ) : Zend_Filter_Encrypt_Mcrypt | ||
$compression | string | array | |
return | Zend_Filter_Encrypt_Mcrypt |
public setEncryption ( string | array $options ) : Zend_Filter_File_Encryption | ||
$options | string | array | Encryption options |
return | Zend_Filter_File_Encryption |
protected $_encryption |