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 du fichier php72compat.php

Variables

foreach(array('BASE64_VARIANT_ORIGINAL', 'BASE64_VARIANT_ORIGINAL_NO_PADDING', 'BASE64_VARIANT_URLSAFE', 'BASE64_VARIANT_URLSAFE_NO_PADDING', 'CRYPTO_AEAD_CHACHA20POLY1305_KEYBYTES', 'CRYPTO_AEAD_CHACHA20POLY1305_NSECBYTES', 'CRYPTO_AEAD_CHACHA20POLY1305_NPUBBYTES', 'CRYPTO_AEAD_CHACHA20POLY1305_ABYTES', 'CRYPTO_AEAD_AES256GCM_KEYBYTES', 'CRYPTO_AEAD_AES256GCM_NSECBYTES', 'CRYPTO_AEAD_AES256GCM_NPUBBYTES', 'CRYPTO_AEAD_AES256GCM_ABYTES', 'CRYPTO_AEAD_CHACHA20POLY1305_IETF_KEYBYTES', 'CRYPTO_AEAD_CHACHA20POLY1305_IETF_NSECBYTES', 'CRYPTO_AEAD_CHACHA20POLY1305_IETF_NPUBBYTES', 'CRYPTO_AEAD_CHACHA20POLY1305_IETF_ABYTES', 'CRYPTO_AEAD_XCHACHA20POLY1305_IETF_KEYBYTES', 'CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NSECBYTES', 'CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES', 'CRYPTO_AEAD_XCHACHA20POLY1305_IETF_ABYTES', 'CRYPTO_AUTH_BYTES', 'CRYPTO_AUTH_KEYBYTES', 'CRYPTO_BOX_SEALBYTES', 'CRYPTO_BOX_SECRETKEYBYTES', 'CRYPTO_BOX_PUBLICKEYBYTES', 'CRYPTO_BOX_KEYPAIRBYTES', 'CRYPTO_BOX_MACBYTES', 'CRYPTO_BOX_NONCEBYTES', 'CRYPTO_BOX_SEEDBYTES', 'CRYPTO_KDF_BYTES_MIN', 'CRYPTO_KDF_BYTES_MAX', 'CRYPTO_KDF_CONTEXTBYTES', 'CRYPTO_KDF_KEYBYTES', 'CRYPTO_KX_BYTES', 'CRYPTO_KX_KEYPAIRBYTES', 'CRYPTO_KX_PRIMITIVE', 'CRYPTO_KX_SEEDBYTES', 'CRYPTO_KX_PUBLICKEYBYTES', 'CRYPTO_KX_SECRETKEYBYTES', 'CRYPTO_KX_SESSIONKEYBYTES', 'CRYPTO_GENERICHASH_BYTES', 'CRYPTO_GENERICHASH_BYTES_MIN', 'CRYPTO_GENERICHASH_BYTES_MAX', 'CRYPTO_GENERICHASH_KEYBYTES', 'CRYPTO_GENERICHASH_KEYBYTES_MIN', 'CRYPTO_GENERICHASH_KEYBYTES_MAX', 'CRYPTO_PWHASH_SALTBYTES', 'CRYPTO_PWHASH_STRPREFIX', 'CRYPTO_PWHASH_ALG_ARGON2I13', 'CRYPTO_PWHASH_ALG_ARGON2ID13', 'CRYPTO_PWHASH_MEMLIMIT_INTERACTIVE', 'CRYPTO_PWHASH_OPSLIMIT_INTERACTIVE', 'CRYPTO_PWHASH_MEMLIMIT_MODERATE', 'CRYPTO_PWHASH_OPSLIMIT_MODERATE', 'CRYPTO_PWHASH_MEMLIMIT_SENSITIVE', 'CRYPTO_PWHASH_OPSLIMIT_SENSITIVE', 'CRYPTO_PWHASH_SCRYPTSALSA208SHA256_SALTBYTES', 'CRYPTO_PWHASH_SCRYPTSALSA208SHA256_STRPREFIX', 'CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_INTERACTIVE', 'CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_INTERACTIVE', 'CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_SENSITIVE', 'CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_SENSITIVE', 'CRYPTO_SCALARMULT_BYTES', 'CRYPTO_SCALARMULT_SCALARBYTES', 'CRYPTO_SHORTHASH_BYTES', 'CRYPTO_SHORTHASH_KEYBYTES', 'CRYPTO_SECRETBOX_KEYBYTES', 'CRYPTO_SECRETBOX_MACBYTES', 'CRYPTO_SECRETBOX_NONCEBYTES', 'CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_ABYTES', 'CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_HEADERBYTES', 'CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_KEYBYTES', 'CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_PUSH', 'CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_PULL', 'CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_REKEY', 'CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_FINAL', 'CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_MESSAGEBYTES_MAX', 'CRYPTO_SIGN_BYTES', 'CRYPTO_SIGN_SEEDBYTES', 'CRYPTO_SIGN_PUBLICKEYBYTES', 'CRYPTO_SIGN_SECRETKEYBYTES', 'CRYPTO_SIGN_KEYPAIRBYTES', 'CRYPTO_STREAM_KEYBYTES', 'CRYPTO_STREAM_NONCEBYTES', 'CRYPTO_STREAM_XCHACHA20_KEYBYTES', 'CRYPTO_STREAM_XCHACHA20_NONCEBYTES', 'LIBRARY_MAJOR_VERSION', 'LIBRARY_MINOR_VERSION', 'LIBRARY_VERSION_MAJOR', 'LIBRARY_VERSION_MINOR', 'VERSION_STRING') as $constant) if(!is_callable('sodium_add')) if(!is_callable('sodium_base642bin')) if(!is_callable('sodium_bin2base64')) if(!is_callable('sodium_bin2hex')) if(!is_callable('sodium_compare')) if(!is_callable('sodium_crypto_aead_aes256gcm_decrypt')) if(!is_callable('sodium_crypto_aead_aes256gcm_encrypt')) if(!is_callable('sodium_crypto_aead_aes256gcm_is_available')) if(!is_callable('sodium_crypto_aead_chacha20poly1305_decrypt')) if(!is_callable('sodium_crypto_aead_chacha20poly1305_encrypt')) if(!is_callable('sodium_crypto_aead_chacha20poly1305_keygen')) if(!is_callable('sodium_crypto_aead_chacha20poly1305_ietf_decrypt')) if(!is_callable('sodium_crypto_aead_chacha20poly1305_ietf_encrypt')) if(!is_callable('sodium_crypto_aead_chacha20poly1305_ietf_keygen')) if(!is_callable('sodium_crypto_aead_xchacha20poly1305_ietf_decrypt')) if(!is_callable('sodium_crypto_aead_xchacha20poly1305_ietf_encrypt')) if(!is_callable('sodium_crypto_aead_xchacha20poly1305_ietf_keygen')) if(!is_callable('sodium_crypto_auth')) if(!is_callable('sodium_crypto_auth_keygen')) if(!is_callable('sodium_crypto_auth_verify')) if(!is_callable('sodium_crypto_box')) if(!is_callable('sodium_crypto_box_keypair')) if(!is_callable('sodium_crypto_box_keypair_from_secretkey_and_publickey')) if(!is_callable('sodium_crypto_box_open')) if(!is_callable('sodium_crypto_box_publickey')) if(!is_callable('sodium_crypto_box_publickey_from_secretkey')) if(!is_callable('sodium_crypto_box_seal')) if(!is_callable('sodium_crypto_box_seal_open')) if(!is_callable('sodium_crypto_box_secretkey')) if(!is_callable('sodium_crypto_box_seed_keypair')) if(!is_callable('sodium_crypto_generichash')) if(!is_callable('sodium_crypto_generichash_final')) if(!is_callable('sodium_crypto_generichash_init')) if(!is_callable('sodium_crypto_generichash_keygen')) if(!is_callable('sodium_crypto_generichash_update')) if(!is_callable('sodium_crypto_kdf_keygen')) if(!is_callable('sodium_crypto_kdf_derive_from_key')) if(!is_callable('sodium_crypto_kx')) if(!is_callable('sodium_crypto_kx_seed_keypair')) if(!is_callable('sodium_crypto_kx_keypair')) if(!is_callable('sodium_crypto_kx_client_session_keys')) if(!is_callable('sodium_crypto_kx_server_session_keys')) if(!is_callable('sodium_crypto_kx_secretkey')) if(!is_callable('sodium_crypto_kx_publickey')) if(!is_callable('sodium_crypto_pwhash')) if(!is_callable('sodium_crypto_pwhash_str')) if(!is_callable('sodium_crypto_pwhash_str_needs_rehash')) if(!is_callable('sodium_crypto_pwhash_str_verify')) if(!is_callable('sodium_crypto_pwhash_scryptsalsa208sha256')) if(!is_callable('sodium_crypto_pwhash_scryptsalsa208sha256_str')) if(!is_callable('sodium_crypto_pwhash_scryptsalsa208sha256_str_verify')) if(!is_callable('sodium_crypto_scalarmult')) if(!is_callable('sodium_crypto_scalarmult_base')) if(!is_callable('sodium_crypto_secretbox')) if(!is_callable('sodium_crypto_secretbox_keygen')) if(!is_callable('sodium_crypto_secretbox_open')) if(!is_callable('sodium_crypto_secretstream_xchacha20poly1305_init_push')) if(!is_callable('sodium_crypto_secretstream_xchacha20poly1305_push')) if(!is_callable('sodium_crypto_secretstream_xchacha20poly1305_init_pull')) if(!is_callable('sodium_crypto_secretstream_xchacha20poly1305_pull')) if(!is_callable('sodium_crypto_secretstream_xchacha20poly1305_rekey')) if(!is_callable('sodium_crypto_secretstream_xchacha20poly1305_keygen')) if(!is_callable('sodium_crypto_shorthash')) if(!is_callable('sodium_crypto_shorthash_keygen')) if(!is_callable('sodium_crypto_sign')) if(!is_callable('sodium_crypto_sign_detached')) if(!is_callable('sodium_crypto_sign_keypair_from_secretkey_and_publickey')) if(!is_callable('sodium_crypto_sign_keypair')) if(!is_callable('sodium_crypto_sign_open')) if(!is_callable('sodium_crypto_sign_publickey')) if(!is_callable('sodium_crypto_sign_publickey_from_secretkey')) if(!is_callable('sodium_crypto_sign_secretkey')) if(!is_callable('sodium_crypto_sign_seed_keypair')) if(!is_callable('sodium_crypto_sign_verify_detached')) if(!is_callable('sodium_crypto_sign_ed25519_pk_to_curve25519')) if(!is_callable('sodium_crypto_sign_ed25519_sk_to_curve25519')) if(!is_callable('sodium_crypto_stream')) if(!is_callable('sodium_crypto_stream_keygen')) if (!is_callable( 'sodium_crypto_stream_xor'))
 

Documentation des variables

◆ if

foreach (array( 'BASE64_VARIANT_ORIGINAL', 'BASE64_VARIANT_ORIGINAL_NO_PADDING', 'BASE64_VARIANT_URLSAFE', 'BASE64_VARIANT_URLSAFE_NO_PADDING', 'CRYPTO_AEAD_CHACHA20POLY1305_KEYBYTES', 'CRYPTO_AEAD_CHACHA20POLY1305_NSECBYTES', 'CRYPTO_AEAD_CHACHA20POLY1305_NPUBBYTES', 'CRYPTO_AEAD_CHACHA20POLY1305_ABYTES', 'CRYPTO_AEAD_AES256GCM_KEYBYTES', 'CRYPTO_AEAD_AES256GCM_NSECBYTES', 'CRYPTO_AEAD_AES256GCM_NPUBBYTES', 'CRYPTO_AEAD_AES256GCM_ABYTES', 'CRYPTO_AEAD_CHACHA20POLY1305_IETF_KEYBYTES', 'CRYPTO_AEAD_CHACHA20POLY1305_IETF_NSECBYTES', 'CRYPTO_AEAD_CHACHA20POLY1305_IETF_NPUBBYTES', 'CRYPTO_AEAD_CHACHA20POLY1305_IETF_ABYTES', 'CRYPTO_AEAD_XCHACHA20POLY1305_IETF_KEYBYTES', 'CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NSECBYTES', 'CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES', 'CRYPTO_AEAD_XCHACHA20POLY1305_IETF_ABYTES', 'CRYPTO_AUTH_BYTES', 'CRYPTO_AUTH_KEYBYTES', 'CRYPTO_BOX_SEALBYTES', 'CRYPTO_BOX_SECRETKEYBYTES', 'CRYPTO_BOX_PUBLICKEYBYTES', 'CRYPTO_BOX_KEYPAIRBYTES', 'CRYPTO_BOX_MACBYTES', 'CRYPTO_BOX_NONCEBYTES', 'CRYPTO_BOX_SEEDBYTES', 'CRYPTO_KDF_BYTES_MIN', 'CRYPTO_KDF_BYTES_MAX', 'CRYPTO_KDF_CONTEXTBYTES', 'CRYPTO_KDF_KEYBYTES', 'CRYPTO_KX_BYTES', 'CRYPTO_KX_KEYPAIRBYTES', 'CRYPTO_KX_PRIMITIVE', 'CRYPTO_KX_SEEDBYTES', 'CRYPTO_KX_PUBLICKEYBYTES', 'CRYPTO_KX_SECRETKEYBYTES', 'CRYPTO_KX_SESSIONKEYBYTES', 'CRYPTO_GENERICHASH_BYTES', 'CRYPTO_GENERICHASH_BYTES_MIN', 'CRYPTO_GENERICHASH_BYTES_MAX', 'CRYPTO_GENERICHASH_KEYBYTES', 'CRYPTO_GENERICHASH_KEYBYTES_MIN', 'CRYPTO_GENERICHASH_KEYBYTES_MAX', 'CRYPTO_PWHASH_SALTBYTES', 'CRYPTO_PWHASH_STRPREFIX', 'CRYPTO_PWHASH_ALG_ARGON2I13', 'CRYPTO_PWHASH_ALG_ARGON2ID13', 'CRYPTO_PWHASH_MEMLIMIT_INTERACTIVE', 'CRYPTO_PWHASH_OPSLIMIT_INTERACTIVE', 'CRYPTO_PWHASH_MEMLIMIT_MODERATE', 'CRYPTO_PWHASH_OPSLIMIT_MODERATE', 'CRYPTO_PWHASH_MEMLIMIT_SENSITIVE', 'CRYPTO_PWHASH_OPSLIMIT_SENSITIVE', 'CRYPTO_PWHASH_SCRYPTSALSA208SHA256_SALTBYTES', 'CRYPTO_PWHASH_SCRYPTSALSA208SHA256_STRPREFIX', 'CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_INTERACTIVE', 'CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_INTERACTIVE', 'CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_SENSITIVE', 'CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_SENSITIVE', 'CRYPTO_SCALARMULT_BYTES', 'CRYPTO_SCALARMULT_SCALARBYTES', 'CRYPTO_SHORTHASH_BYTES', 'CRYPTO_SHORTHASH_KEYBYTES', 'CRYPTO_SECRETBOX_KEYBYTES', 'CRYPTO_SECRETBOX_MACBYTES', 'CRYPTO_SECRETBOX_NONCEBYTES', 'CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_ABYTES', 'CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_HEADERBYTES', 'CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_KEYBYTES', 'CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_PUSH', 'CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_PULL', 'CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_REKEY', 'CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_FINAL', 'CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_MESSAGEBYTES_MAX', 'CRYPTO_SIGN_BYTES', 'CRYPTO_SIGN_SEEDBYTES', 'CRYPTO_SIGN_PUBLICKEYBYTES', 'CRYPTO_SIGN_SECRETKEYBYTES', 'CRYPTO_SIGN_KEYPAIRBYTES', 'CRYPTO_STREAM_KEYBYTES', 'CRYPTO_STREAM_NONCEBYTES', 'CRYPTO_STREAM_XCHACHA20_KEYBYTES', 'CRYPTO_STREAM_XCHACHA20_NONCEBYTES', 'LIBRARY_MAJOR_VERSION', 'LIBRARY_MINOR_VERSION', 'LIBRARY_VERSION_MAJOR', 'LIBRARY_VERSION_MINOR', 'VERSION_STRING') as $constant) if (!is_callable( 'sodium_add')) if (!is_callable( 'sodium_base642bin')) if (!is_callable( 'sodium_bin2base64')) if (!is_callable( 'sodium_bin2hex')) if (!is_callable( 'sodium_compare')) if (!is_callable( 'sodium_crypto_aead_aes256gcm_decrypt')) if (!is_callable( 'sodium_crypto_aead_aes256gcm_encrypt')) if (!is_callable( 'sodium_crypto_aead_aes256gcm_is_available')) if (!is_callable( 'sodium_crypto_aead_chacha20poly1305_decrypt')) if (!is_callable( 'sodium_crypto_aead_chacha20poly1305_encrypt')) if (!is_callable( 'sodium_crypto_aead_chacha20poly1305_keygen')) if (!is_callable( 'sodium_crypto_aead_chacha20poly1305_ietf_decrypt')) if (!is_callable( 'sodium_crypto_aead_chacha20poly1305_ietf_encrypt')) if (!is_callable( 'sodium_crypto_aead_chacha20poly1305_ietf_keygen')) if (!is_callable( 'sodium_crypto_aead_xchacha20poly1305_ietf_decrypt')) if (!is_callable( 'sodium_crypto_aead_xchacha20poly1305_ietf_encrypt')) if (!is_callable( 'sodium_crypto_aead_xchacha20poly1305_ietf_keygen')) if (!is_callable( 'sodium_crypto_auth')) if (!is_callable( 'sodium_crypto_auth_keygen')) if (!is_callable( 'sodium_crypto_auth_verify')) if (!is_callable( 'sodium_crypto_box')) if (!is_callable( 'sodium_crypto_box_keypair')) if (!is_callable( 'sodium_crypto_box_keypair_from_secretkey_and_publickey')) if (!is_callable( 'sodium_crypto_box_open')) if (!is_callable( 'sodium_crypto_box_publickey')) if (!is_callable( 'sodium_crypto_box_publickey_from_secretkey')) if (!is_callable( 'sodium_crypto_box_seal')) if (!is_callable( 'sodium_crypto_box_seal_open')) if (!is_callable( 'sodium_crypto_box_secretkey')) if (!is_callable( 'sodium_crypto_box_seed_keypair')) if (!is_callable( 'sodium_crypto_generichash')) if (!is_callable( 'sodium_crypto_generichash_final')) if (!is_callable( 'sodium_crypto_generichash_init')) if (!is_callable( 'sodium_crypto_generichash_keygen')) if (!is_callable( 'sodium_crypto_generichash_update')) if (!is_callable( 'sodium_crypto_kdf_keygen')) if (!is_callable( 'sodium_crypto_kdf_derive_from_key')) if (!is_callable( 'sodium_crypto_kx')) if (!is_callable( 'sodium_crypto_kx_seed_keypair')) if (!is_callable( 'sodium_crypto_kx_keypair')) if (!is_callable( 'sodium_crypto_kx_client_session_keys')) if (!is_callable( 'sodium_crypto_kx_server_session_keys')) if (!is_callable( 'sodium_crypto_kx_secretkey')) if (!is_callable( 'sodium_crypto_kx_publickey')) if (!is_callable( 'sodium_crypto_pwhash')) if (!is_callable( 'sodium_crypto_pwhash_str')) if (!is_callable( 'sodium_crypto_pwhash_str_needs_rehash')) if (!is_callable( 'sodium_crypto_pwhash_str_verify')) if (!is_callable( 'sodium_crypto_pwhash_scryptsalsa208sha256')) if (!is_callable( 'sodium_crypto_pwhash_scryptsalsa208sha256_str')) if (!is_callable( 'sodium_crypto_pwhash_scryptsalsa208sha256_str_verify')) if (!is_callable( 'sodium_crypto_scalarmult')) if (!is_callable( 'sodium_crypto_scalarmult_base')) if (!is_callable( 'sodium_crypto_secretbox')) if (!is_callable( 'sodium_crypto_secretbox_keygen')) if (!is_callable( 'sodium_crypto_secretbox_open')) if (!is_callable( 'sodium_crypto_secretstream_xchacha20poly1305_init_push')) if (!is_callable( 'sodium_crypto_secretstream_xchacha20poly1305_push')) if (!is_callable( 'sodium_crypto_secretstream_xchacha20poly1305_init_pull')) if (!is_callable( 'sodium_crypto_secretstream_xchacha20poly1305_pull')) if (!is_callable( 'sodium_crypto_secretstream_xchacha20poly1305_rekey')) if (!is_callable( 'sodium_crypto_secretstream_xchacha20poly1305_keygen')) if (!is_callable( 'sodium_crypto_shorthash')) if (!is_callable( 'sodium_crypto_shorthash_keygen')) if (!is_callable( 'sodium_crypto_sign')) if (!is_callable( 'sodium_crypto_sign_detached')) if (!is_callable( 'sodium_crypto_sign_keypair_from_secretkey_and_publickey')) if (!is_callable( 'sodium_crypto_sign_keypair')) if (!is_callable( 'sodium_crypto_sign_open')) if (!is_callable( 'sodium_crypto_sign_publickey')) if (!is_callable( 'sodium_crypto_sign_publickey_from_secretkey')) if (!is_callable( 'sodium_crypto_sign_secretkey')) if (!is_callable( 'sodium_crypto_sign_seed_keypair')) if (!is_callable( 'sodium_crypto_sign_verify_detached')) if (!is_callable( 'sodium_crypto_sign_ed25519_pk_to_curve25519')) if (!is_callable( 'sodium_crypto_sign_ed25519_sk_to_curve25519')) if (!is_callable( 'sodium_crypto_stream')) if (!is_callable( 'sodium_crypto_stream_keygen')) if(!is_callable('sodium_crypto_stream_xor'))

This file will monkey patch the pure-PHP implementation in place of the PECL functions and constants, but only if they do not already exist.

Thus, the functions or constants just proxy to the appropriate ParagonIE_Sodium_Compat method or class constant, respectively.

Voir également
ParagonIE_Sodium_Compat::add()
Paramètres
string$val
string$addv
Renvoie
void
Exceptions
SodiumException
Voir également
ParagonIE_Sodium_Compat::bin2base64()
Paramètres
string$string
int$variant
string$ignore
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::bin2base64()
Paramètres
string$string
int$variant
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::hex2bin()
Paramètres
string$string
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::compare()
Paramètres
string$a
string$b
Renvoie
int
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_aead_aes256gcm_decrypt()
Paramètres
string$message
string$assocData
string$nonce
string$key
Renvoie
string|bool
Voir également
ParagonIE_Sodium_Compat::crypto_aead_aes256gcm_encrypt()
Paramètres
string$message
string$assocData
string$nonce
string$key
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_aead_aes256gcm_is_available()
Renvoie
bool
Voir également
ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_decrypt()
Paramètres
string$message
string$assocData
string$nonce
string$key
Renvoie
string|bool
Voir également
ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_encrypt()
Paramètres
string$message
string$assocData
string$nonce
string$key
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_keygen()
Renvoie
string
Exceptions
Exception
Voir également
ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_decrypt()
Paramètres
string$message
string$assocData
string$nonce
string$key
Renvoie
string|bool
Voir également
ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_encrypt()
Paramètres
string$message
string$assocData
string$nonce
string$key
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_keygen()
Renvoie
string
Exceptions
Exception
Voir également
ParagonIE_Sodium_Compat::crypto_aead_xchacha20poly1305_ietf_decrypt()
Paramètres
string$message
string$assocData
string$nonce
string$key
Renvoie
string|bool
Voir également
ParagonIE_Sodium_Compat::crypto_aead_xchacha20poly1305_ietf_encrypt()
Paramètres
string$message
string$assocData
string$nonce
string$key
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_aead_xchacha20poly1305_ietf_keygen()
Renvoie
string
Exceptions
Exception
Voir également
ParagonIE_Sodium_Compat::crypto_auth()
Paramètres
string$message
string$key
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_auth_keygen()
Renvoie
string
Exceptions
Exception
Voir également
ParagonIE_Sodium_Compat::crypto_auth_verify()
Paramètres
string$mac
string$message
string$key
Renvoie
bool
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_box()
Paramètres
string$message
string$nonce
string$kp
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_box_keypair()
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_box_keypair_from_secretkey_and_publickey()
Paramètres
string$sk
string$pk
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_box_open()
Paramètres
string$message
string$nonce
string$kp
Renvoie
string|bool
Voir également
ParagonIE_Sodium_Compat::crypto_box_publickey()
Paramètres
string$keypair
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_box_publickey_from_secretkey()
Paramètres
string$sk
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_box_seal()
Paramètres
string$message
string$publicKey
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_box_seal_open()
Paramètres
string$message
string$kp
Renvoie
string|bool
Exceptions
SodiumException
Voir également
ParagonIE_Sodium_Compat::crypto_box_secretkey()
Paramètres
string$keypair
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_box_seed_keypair()
Paramètres
string$seed
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_generichash()
Paramètres
string$message
string | null$key
int$outLen
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_generichash_final()
Paramètres
string | null$ctx
int$outputLength
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_generichash_init()
Paramètres
string | null$key
int$outLen
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_generichash_keygen()
Renvoie
string
Exceptions
Exception
Voir également
ParagonIE_Sodium_Compat::crypto_generichash_update()
Paramètres
string | null$ctx
string$message
Renvoie
void
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_kdf_keygen()
Renvoie
string
Exceptions
Exception
Voir également
ParagonIE_Sodium_Compat::crypto_kdf_derive_from_key()
Paramètres
int$subkey_len
int$subkey_id
string$context
string$key
Renvoie
string
Exceptions
Exception
Voir également
ParagonIE_Sodium_Compat::crypto_kx()
Paramètres
string$my_secret
string$their_public
string$client_public
string$server_public
Renvoie
string
Exceptions
SodiumException
TypeError
Paramètres
string$seed
Renvoie
string
Exceptions
Exception
Renvoie
string
Exceptions
Exception
Paramètres
string$keypair
string$serverPublicKey
Renvoie
array{0: string, 1: string}
Exceptions
SodiumException
Paramètres
string$keypair
string$clientPublicKey
Renvoie
array{0: string, 1: string}
Exceptions
SodiumException
Paramètres
string$keypair
Renvoie
string
Exceptions
Exception
Paramètres
string$keypair
Renvoie
string
Exceptions
Exception
Voir également
ParagonIE_Sodium_Compat::crypto_pwhash()
Paramètres
int$outlen
string$passwd
string$salt
int$opslimit
int$memlimit
int | null$algo
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_pwhash_str()
Paramètres
string$passwd
int$opslimit
int$memlimit
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_pwhash_str_needs_rehash()
Paramètres
string$hash
int$opslimit
int$memlimit
Renvoie
bool
Exceptions
SodiumException
Voir également
ParagonIE_Sodium_Compat::crypto_pwhash_str_verify()
Paramètres
string$passwd
string$hash
Renvoie
bool
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256()
Paramètres
int$outlen
string$passwd
string$salt
int$opslimit
int$memlimit
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256_str()
Paramètres
string$passwd
int$opslimit
int$memlimit
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256_str_verify()
Paramètres
string$passwd
string$hash
Renvoie
bool
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_scalarmult()
Paramètres
string$n
string$p
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_scalarmult_base()
Paramètres
string$n
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_secretbox()
Paramètres
string$message
string$nonce
string$key
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_secretbox_keygen()
Renvoie
string
Exceptions
Exception
Voir également
ParagonIE_Sodium_Compat::crypto_secretbox_open()
Paramètres
string$message
string$nonce
string$key
Renvoie
string|bool
Paramètres
string$key
Renvoie
array<int, string>
Exceptions
SodiumException
Paramètres
string$state
string$msg
string$aad
int$tag
Renvoie
string
Exceptions
SodiumException
Paramètres
string$header
string$key
Renvoie
string
Exceptions
Exception
Paramètres
string$state
string$cipher
string$aad
Renvoie
bool|array{0: string, 1: int}
Exceptions
SodiumException
Paramètres
string$state
Renvoie
void
Exceptions
SodiumException
Renvoie
string
Exceptions
Exception
Voir également
ParagonIE_Sodium_Compat::crypto_shorthash()
Paramètres
string$message
string$key
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_shorthash_keygen()
Renvoie
string
Exceptions
Exception
Voir également
ParagonIE_Sodium_Compat::crypto_sign()
Paramètres
string$message
string$sk
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_sign_detached()
Paramètres
string$message
string$sk
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_sign_keypair_from_secretkey_and_publickey()
Paramètres
string$sk
string$pk
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_sign_keypair()
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_sign_open()
Paramètres
string$signedMessage
string$pk
Renvoie
string|bool
Voir également
ParagonIE_Sodium_Compat::crypto_sign_publickey()
Paramètres
string$keypair
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_sign_publickey_from_secretkey()
Paramètres
string$sk
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_sign_secretkey()
Paramètres
string$keypair
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_sign_seed_keypair()
Paramètres
string$seed
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_sign_verify_detached()
Paramètres
string$signature
string$message
string$pk
Renvoie
bool
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_sign_ed25519_pk_to_curve25519()
Paramètres
string$pk
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_sign_ed25519_sk_to_curve25519()
Paramètres
string$sk
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_stream()
Paramètres
int$len
string$nonce
string$key
Renvoie
string
Exceptions
SodiumException
TypeError
Voir également
ParagonIE_Sodium_Compat::crypto_stream_keygen()
Renvoie
string
Exceptions
Exception
Voir également
ParagonIE_Sodium_Compat::crypto_stream_xor()
Paramètres
string$message
string$nonce
string$key
Renvoie
string
Exceptions
SodiumException
TypeError