JCryptCipher::encrypt
Method to encrypt a data string.
Signature
public function encrypt(string
$data,
JCryptKey
$key )
Parameters
-
$data
- The data string to encrypt.
-
$key
- The key[/pair] object to use for encryption.
Returns
- string
- The encrypted data string.