Fully Qualified Name: | Laminas\Filter\Encrypt\BlockCipher |
Implements: | EncryptionAlgorithmInterface |
Encryption adapter for Laminas\Crypt\BlockCipher
Name | Description | Defined By |
---|---|---|
__construct() | Class constructor | BlockCipher |
decrypt() | Defined by Laminas\Filter\FilterInterface | BlockCipher |
encrypt() | Defined by Laminas\Filter\FilterInterface | BlockCipher |
getCompression() | Returns the compression | BlockCipher |
getEncryption() | Returns the set encryption options | BlockCipher |
getKey() | Get the encryption key | BlockCipher |
getVector() | Returns the initialization vector | BlockCipher |
setCompression() | Sets an internal compression for values to encrypt | BlockCipher |
setEncryption() | Sets new encryption options | BlockCipher |
setKey() | Set the encryption key | BlockCipher |
setVector() | Set the inizialization vector | BlockCipher |
toString() | Returns the adapter name | BlockCipher |
Class constructor
Parameter Name | Type | Description |
---|---|---|
$options | string|array|\Traversable | Encryption |
Returns:
Defined by Laminas\Filter\FilterInterface
Decrypts $value with the defined settings
Parameter Name | Type | Description |
---|---|---|
$value | string | Content |
Returns: string The decrypted content
Defined by Laminas\Filter\FilterInterface
Encrypts $value with the defined settings
Parameter Name | Type | Description |
---|---|---|
$value | string | The |
Returns: string The encrypted content
Returns the compression
Returns: array
Returns the set encryption options
Returns: array
Get the encryption key
Returns: string
Returns the initialization vector
Returns: string
Sets an internal compression for values to encrypt
Parameter Name | Type | Description |
---|---|---|
$compression | string|array |
Returns: self
Sets new encryption options
Parameter Name | Type | Description |
---|---|---|
$options | string|array | Encryption |
Returns: self
Set the encryption key
Parameter Name | Type | Description |
---|---|---|
$key | string |
Returns: self
Set the inizialization vector
Parameter Name | Type | Description |
---|---|---|
$vector | string |
Returns: self
Returns the adapter name
Returns: string