set_mode($mode)
| Parameters: |
|
|---|---|
| Returns: |
CI_Encrypt instance (method chaining) |
| Return type: |
CI_Encrypt |
Permits you to set an Mcrypt mode. By default it uses MCRYPT_MODE_CBC. Example:
$this->encrypt->set_mode(MCRYPT_MODE_CFB);
Please visit php.net for a list of available modes.
Please login to continue.