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 Mcrypt
+ Graphe d'héritage de Mcrypt:

Fonctions membres publiques

 decrypt ($cipherText, $key)
 
 isSupported ()
 
 getBlockSize ()
 
- Fonctions membres publiques hérités de AKEncryptionAESAdapterAbstract
 resizeKey ($key, $size)
 

Attributs protégés

 $cipherType = MCRYPT_RIJNDAEL_128
 
 $cipherMode = MCRYPT_MODE_CBC
 

Membres hérités additionnels

- Fonctions membres protégées hérités de AKEncryptionAESAdapterAbstract
 getZeroPadding ($string, $blockSize)
 

Documentation des fonctions membres

◆ decrypt()

decrypt (   $plainText,
  $key 
)

Decrypts a string. Returns the raw binary ciphertext, zero-padded.

Paramètres
string$plainTextThe plaintext to encrypt
string$keyThe raw binary key (will be zero-padded or chopped if its size is different than the block size)
Renvoie
string The raw encrypted binary string.

Implémente AKEncryptionAESAdapterInterface.

Références $key, getBlockSize(), et AKEncryptionAESAdapterAbstract\resizeKey().

◆ getBlockSize()

getBlockSize ( )

Returns the encryption block size in bytes

Renvoie
int

Implémente AKEncryptionAESAdapterInterface.

Référencé par decrypt().

◆ isSupported()

isSupported ( )

Is this adapter supported?

Renvoie
bool

Implémente AKEncryptionAESAdapterInterface.

Documentation des champs

◆ $cipherMode

$cipherMode = MCRYPT_MODE_CBC
protected

◆ $cipherType

$cipherType = MCRYPT_RIJNDAEL_128
protected

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