Method to decrypt a data string.
string
decrypt
(
string $data,
JCryptKey $key)
-
string
$data: The encrypted string to decrypt.
-
JCryptKey
$key: The key[/pair] object to use for decryption.
Method to encrypt a data string.
string
encrypt
(
string $data,
JCryptKey $key)
-
string
$data: The data string to encrypt.
-
JCryptKey
$key: The key[/pair] object to use for encryption.
Method to generate a new encryption key[/pair] object.
JCryptKey
generateKey
([
array $options =
array()])
-
array
$options: Key generation options.