Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de l'interface CipherInterface
+ Graphe d'héritage de CipherInterface:

Fonctions membres publiques

 decrypt ($data, Key $key)
 
 encrypt ($data, Key $key)
 
 generateKey (array $options=array())
 

Description détaillée

Crypt cipher interface.

Depuis
3.0.0

Documentation des fonctions membres

◆ decrypt()

decrypt (   $data,
Key  $key 
)

Method to decrypt a data string.

Paramètres
string$dataThe encrypted string to decrypt.
Key$keyThe key[/pair] object to use for decryption.
Renvoie
string The decrypted data string.
Depuis
3.0.0

Implémenté dans McryptCipher, SodiumCipher, SimpleCipher, et CryptoCipher.

◆ encrypt()

encrypt (   $data,
Key  $key 
)

Method to encrypt a data string.

Paramètres
string$dataThe data string to encrypt.
Key$keyThe key[/pair] object to use for encryption.
Renvoie
string The encrypted data string.
Depuis
3.0.0

Implémenté dans McryptCipher, SodiumCipher, SimpleCipher, et CryptoCipher.

◆ generateKey()

generateKey ( array  $options = array())

Method to generate a new encryption key[/pair] object.

Paramètres
array$optionsKey generation options.
Renvoie
Key
Depuis
3.0.0

Implémenté dans McryptCipher, SimpleCipher, SodiumCipher, et CryptoCipher.


La documentation de cette interface a été générée à partir du fichier suivant :