__construct()
decrypt()
encrypt()
getCompression()
getEncryption()
getKey()
getVector()
setCompression()
setEncryption()
setKey()
setVector()
toString()
$blockCipher
$compression
$encryption
Encryption adapter for Zend\Crypt\BlockCipher
__construct(string | array | \Traversable $options)
stringarray\Traversable
Encryption Options
\Zend\Filter\Exception\RuntimeException |
|
---|---|
\Zend\Filter\Exception\InvalidArgumentException |
decrypt(string $value) : string
Decrypts $value with the defined settings
string
Content to decrypt
string
The decrypted contentencrypt(string $value) : string
Encrypts $value with the defined settings
string
The content to encrypt
\Zend\Filter\Exception\InvalidArgumentException |
---|
string
The encrypted contentgetCompression() : array
array
getEncryption() : array
array
getKey() : string
string
getVector() : string
string
setCompression(string | array $compression) : \Zend\Filter\Encrypt\self
stringarray
\Zend\Filter\Encrypt\self
setEncryption(string | array $options) : \Zend\Filter\Encrypt\self
stringarray
Encryption options
\Zend\Filter\Exception\InvalidArgumentException |
---|
\Zend\Filter\Encrypt\self
setKey(string $key) : \Zend\Filter\Encrypt\self
string
\Zend\Filter\Exception\InvalidArgumentException |
---|
\Zend\Filter\Encrypt\self
setVector(string $vector) : \Zend\Filter\Encrypt\self
string
\Zend\Filter\Exception\InvalidArgumentException |
---|
\Zend\Filter\Encrypt\self
toString() : string
string
$compression : array
$encryption