Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct ($mode) | |
setKeyLength ($length) | |
Fonctions membres publiques hérités de SymmetricKey | |
__construct ($mode) | |
setIV ($iv) | |
enablePoly1305 () | |
setPoly1305Key ($key=null) | |
setNonce ($nonce) | |
setAAD ($aad) | |
usesIV () | |
usesNonce () | |
getKeyLength () | |
getBlockLength () | |
getBlockLengthInBytes () | |
setKeyLength ($length) | |
setKey ($key) | |
setPassword ($password, $method='pbkdf2',... $func_args) | |
encrypt ($plaintext) | |
decrypt ($ciphertext) | |
getTag ($length=16) | |
setTag ($tag) | |
enablePadding () | |
disablePadding () | |
enableContinuousBuffer () | |
disableContinuousBuffer () | |
isValidEngine ($engine) | |
setPreferredEngine ($engine) | |
getEngine () | |
getMode () | |
Fonctions membres protégées | |
isValidEngineHelper ($engine) | |
setupKey () | |
encryptBlock ($in) | |
decryptBlock ($in) | |
setupInlineCrypt () | |
Fonctions membres protégées hérités de SymmetricKey | |
getIV ($iv) | |
openssl_translate_mode () | |
isValidEngineHelper ($engine) | |
setEngine () | |
encryptBlock ($in) | |
decryptBlock ($in) | |
setupKey () | |
setup () | |
pad ($text) | |
unpad ($text) | |
createInlineCryptFunction ($cipher_code) | |
poly1305 ($text) | |
Attributs protégés | |
$block_size = 8 | |
$cipher_name_mcrypt = 'blowfish' | |
$cfb_init_len = 500 | |
$key_length = 16 | |
Attributs protégés hérités de SymmetricKey | |
$mode | |
$block_size = 16 | |
$key = false | |
$iv = false | |
$encryptIV | |
$decryptIV | |
$continuousBuffer = false | |
$enbuffer | |
$debuffer | |
$cfb_init_len = 600 | |
$changed = true | |
$nonIVChanged = true | |
$engine | |
$cipher_name_mcrypt | |
$cipher_name_openssl | |
$cipher_name_openssl_ecb | |
$inline_crypt | |
$explicit_key_length = false | |
$aad = '' | |
$newtag = false | |
$oldtag = false | |
$poly1305Key | |
$usePoly1305 = false | |
$nonce = false | |
Attributs privés | |
$bctx | |
$kl | |
Attributs privés statiques | |
static | $sbox0 |
static | $sbox1 |
static | $sbox2 |
static | $sbox3 |
static | $parray |
Membres hérités additionnels | |
Champs de données hérités de SymmetricKey | |
const | MODE_CTR = -1 |
const | MODE_ECB = 1 |
const | MODE_CBC = 2 |
const | MODE_CFB = 3 |
const | MODE_CFB8 = 7 |
const | MODE_OFB8 = 8 |
const | MODE_OFB = 4 |
const | MODE_GCM = 5 |
const | MODE_STREAM = 6 |
const | MODE_MAP |
const const | ENGINE_INTERNAL = 1 |
const | ENGINE_EVAL = 2 |
const | ENGINE_MCRYPT = 3 |
const | ENGINE_OPENSSL = 4 |
const | ENGINE_LIBSODIUM = 5 |
const | ENGINE_OPENSSL_GCM = 6 |
const | ENGINE_MAP |
Fonctions membres protégées statiques hérités de SymmetricKey | |
static | safe_intval ($x) |
static | safe_intval_inline () |
static | nullPad128 ($str) |
__construct | ( | $mode | ) |
Default Constructor.
string | $mode | public |
Références SymmetricKey\$mode, et Symfony\Contracts\Service\__construct().
|
protected |
|
protected |
|
protected |
Test for engine validity
This is mainly just a wrapper to set things up for ::isValidEngine()
int | $engine | protected |
Références SymmetricKey\$engine, et SymmetricKey\openssl_translate_mode().
setKeyLength | ( | $length | ) |
Sets the key length.
Key lengths can be between 32 and 448 bits.
public
int | $length |
|
protected |
Setup the performance-optimized function for de/encrypt()
Références $i, et SymmetricKey\createInlineCryptFunction().
|
protected |
Setup the key (expansion)
Références $data, $i, SymmetricKey\$key, $r, et Blowfish\encryptBlock().
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
The Key Length (in bytes) {
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |