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.
Implementation of:
- JCryptCipher::decrypt()
- Method to decrypt a data string.
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.
Implementation of:
- JCryptCipher::encrypt()
- Method to encrypt a data string.
Method to generate a new encryption key[/pair] object.
JCryptKey
generateKey
([
array $options =
array()])
-
array
$options: Key generation options.
Implementation of:
- JCryptCipher::generateKey()
- Method to generate a new encryption key[/pair] object.