encryptData()
encryptData(string $plainData) : string
Encrypts the given plain data.
Parameters
string | $plainData | The plain input string. |
Throws
- \Exception
Validation errors.
Returns
string —The cipher/encrypted data.