Encryption adapter for ZendCryptBlockCipher
Class constructor
| Parameters: | string|array|Traversable – Encryption Options |
|---|---|
| Throws ExceptionRuntimeException: | |
| Throws ExceptionInvalidArgumentException: | |
Sets new encryption options
| Parameters: | string|array – Encryption options |
|---|---|
| Return type: | BlockCipher |
| Throws : | ExceptionInvalidArgumentException |
Set the inizialization vector
| Parameters: | string – |
|---|---|
| Return type: | BlockCipher |
| Throws : | ExceptionInvalidArgumentException |
Set the encryption key
| Parameters: | string – |
|---|---|
| Return type: | BlockCipher |
| Throws : | ExceptionInvalidArgumentException |
Sets a internal compression for values to encrypt
| Parameters: | string|array – |
|---|---|
| Return type: | BlockCipher |
Defined by ZendFilterFilterInterface
Encrypts $value with the defined settings
| Parameters: | string – The content to encrypt |
|---|---|
| Throws ExceptionInvalidArgumentException: | |
| Return type: | string The encrypted content |
Defined by ZendFilterFilterInterface
Decrypts $value with the defined settings
| Parameters: | string – Content to decrypt |
|---|---|
| Return type: | string The decrypted content |