Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
decrypt ($data, Key $key) | |
encrypt ($data, Key $key) | |
generateKey (array $options=array()) | |
Fonctions membres publiques statiques | |
static | isSupported () |
Crypt cipher for encryption, decryption and key generation via the php-encryption library.
decrypt | ( | $data, | |
Key | $key | ||
) |
Method to decrypt a data string.
string | $data | The encrypted string to decrypt. |
Key | $key | The key object to use for decryption. |
Implémente CipherInterface.
encrypt | ( | $data, | |
Key | $key | ||
) |
Method to encrypt a data string.
string | $data | The data string to encrypt. |
Key | $key | The key object to use for encryption. |
Implémente CipherInterface.
generateKey | ( | array | $options = array() | ) |
Method to generate a new encryption key object.
array | $options | Key generation options. |
Implémente CipherInterface.
Références Crypto\CreateNewRandomKey().
|
static |
Check if the cipher is supported in this environment.
Implémente CipherInterface.
Références Crypto\RuntimeTest().