__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\TraversableEncryption Options
\Zend\Filter\Exception\RuntimeException |
|
|---|---|
\Zend\Filter\Exception\InvalidArgumentException |
decrypt(string $value) : string
Decrypts $value with the defined settings
stringContent to decrypt
stringThe decrypted contentencrypt(string $value) : string
Encrypts $value with the defined settings
stringThe content to encrypt
\Zend\Filter\Exception\InvalidArgumentException |
|---|
stringThe encrypted contentgetCompression() : array
arraygetEncryption() : array
arraygetKey() : string
stringgetVector() : string
stringsetCompression(string | array $compression) : \Zend\Filter\Encrypt\self
stringarray
\Zend\Filter\Encrypt\selfsetEncryption(string | array $options) : \Zend\Filter\Encrypt\self
stringarrayEncryption options
\Zend\Filter\Exception\InvalidArgumentException |
|---|
\Zend\Filter\Encrypt\selfsetKey(string $key) : \Zend\Filter\Encrypt\self
string
\Zend\Filter\Exception\InvalidArgumentException |
|---|
\Zend\Filter\Encrypt\selfsetVector(string $vector) : \Zend\Filter\Encrypt\self
string
\Zend\Filter\Exception\InvalidArgumentException |
|---|
\Zend\Filter\Encrypt\selftoString() : string
string$compression : array
$encryption