Encrypts a given string
Class constructor
Parameters: | string|array|Traversable – (Optional) Options to set, if null mcrypt is used |
---|
Sets new encryption options
Parameters: | string|array – (Optional) Encryption options |
---|---|
Return type: | Encrypt |
Throws : | ExceptionDomainException |
Throws : | ExceptionInvalidArgumentException |
Calls adapter methods
Parameters: |
|
---|---|
Return type: | mixed |
Throws : | ExceptionBadMethodCallException |
Defined by ZendFilterFilter
Encrypts the content $value with the defined settings
Parameters: | string – Content to encrypt |
---|---|
Return type: | string The encrypted content |