encrypt($data[, $params = NULL])
| Parameters: |
|
|---|---|
| Returns: |
Encrypted data or FALSE on failure |
| Return type: |
string |
Encrypts the input data and returns its ciphertext.
Example:
$ciphertext = $this->encryption->encrypt('My secret message');
Please refer to the Using custom parameters section for information on the optional parameters.
Please login to continue.