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 la classe JSimplecrypt

Fonctions membres publiques

 __construct ($privateKey=null)
 
 decrypt ($s)
 
 encrypt ($s)
 

Attributs privés

 $_crypt
 

Description détaillée

JSimpleCrypt is a very simple encryption algorithm for encrypting/decrypting strings

Depuis
1.5
Obsolète:
2.5.5 Use JCrypt instead.

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $privateKey = null)

Object Constructor takes an optional key to be used for encryption/decryption. If no key is given then the secret word from the configuration object is used.

Paramètres
string$privateKeyOptional encryption key
Depuis
1.5
Obsolète:
2.5.5 Use JCrypt instead.

Références $key.

Documentation des fonctions membres

◆ decrypt()

decrypt (   $s)

Decrypt a string

Paramètres
string$sString to decrypt
Renvoie
string
Depuis
1.5
Obsolète:
2.5.5 Use JCrypt instead.

◆ encrypt()

encrypt (   $s)

Encrypt a string

Paramètres
string$sString to encrypt
Renvoie
string
Depuis
1.5
Obsolète:
2.5.5 Use JCrypt instead.

Documentation des champs

◆ $_crypt

$_crypt
private

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