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

Fonctions membres publiques

 resizeKey ($key, $size)
 

Fonctions membres protégées

 getZeroPadding ($string, $blockSize)
 

Description détaillée

Abstract AES encryption class

Documentation des fonctions membres

◆ getZeroPadding()

getZeroPadding (   $string,
  $blockSize 
)
protected

Returns null bytes to append to the string so that it's zero padded to the specified block size

Paramètres
string$stringThe binary string which will be zero padded
int$blockSizeThe block size
Renvoie
string The zero bytes to append to the string to zero pad it to $blockSize

◆ resizeKey()

resizeKey (   $key,
  $size 
)

Trims or zero-pads a key / IV

Paramètres
string$keyThe key or IV to treat
int$sizeThe block size of the currently used algorithm
Renvoie
null|string Null if $key is null, treated string of $size byte length otherwise

Références $key, et null.


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