You are here

62 calls to ParagonIE_Sodium_Compat::useNewSodiumAPI() in Automatic Updates 7

ParagonIE_Sodium_Compat::bin2hex in vendor/paragonie/sodium_compat/src/Compat.php
Cache-timing-safe implementation of bin2hex().
ParagonIE_Sodium_Compat::compare in vendor/paragonie/sodium_compat/src/Compat.php
Compare two strings, in constant-time. Compared to memcmp(), compare() is more useful for sorting.
ParagonIE_Sodium_Compat::crypto_aead_aes256gcm_is_available in vendor/paragonie/sodium_compat/src/Compat.php
Is AES-256-GCM even available to use?
ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_decrypt in vendor/paragonie/sodium_compat/src/Compat.php
Authenticated Encryption with Associated Data: Decryption
ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_encrypt in vendor/paragonie/sodium_compat/src/Compat.php
Authenticated Encryption with Associated Data
ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_decrypt in vendor/paragonie/sodium_compat/src/Compat.php
Authenticated Encryption with Associated Data: Decryption
ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_encrypt in vendor/paragonie/sodium_compat/src/Compat.php
Authenticated Encryption with Associated Data
ParagonIE_Sodium_Compat::crypto_aead_xchacha20poly1305_ietf_decrypt in vendor/paragonie/sodium_compat/src/Compat.php
Authenticated Encryption with Associated Data: Decryption
ParagonIE_Sodium_Compat::crypto_aead_xchacha20poly1305_ietf_encrypt in vendor/paragonie/sodium_compat/src/Compat.php
Authenticated Encryption with Associated Data
ParagonIE_Sodium_Compat::crypto_auth in vendor/paragonie/sodium_compat/src/Compat.php
Authenticate a message. Uses symmetric-key cryptography.
ParagonIE_Sodium_Compat::crypto_auth_verify in vendor/paragonie/sodium_compat/src/Compat.php
Verify the MAC of a message previously authenticated with crypto_auth.
ParagonIE_Sodium_Compat::crypto_box in vendor/paragonie/sodium_compat/src/Compat.php
Authenticated asymmetric-key encryption. Both the sender and recipient may decrypt messages.
ParagonIE_Sodium_Compat::crypto_box_keypair in vendor/paragonie/sodium_compat/src/Compat.php
Generate a new random X25519 keypair.
ParagonIE_Sodium_Compat::crypto_box_keypair_from_secretkey_and_publickey in vendor/paragonie/sodium_compat/src/Compat.php
Combine two keys into a keypair for use in library methods that expect a keypair. This doesn't necessarily have to be the same person's keys.
ParagonIE_Sodium_Compat::crypto_box_open in vendor/paragonie/sodium_compat/src/Compat.php
Decrypt a message previously encrypted with crypto_box().
ParagonIE_Sodium_Compat::crypto_box_publickey in vendor/paragonie/sodium_compat/src/Compat.php
Extract the public key from a crypto_box keypair.
ParagonIE_Sodium_Compat::crypto_box_publickey_from_secretkey in vendor/paragonie/sodium_compat/src/Compat.php
Calculate the X25519 public key from a given X25519 secret key.
ParagonIE_Sodium_Compat::crypto_box_seal in vendor/paragonie/sodium_compat/src/Compat.php
Anonymous public-key encryption. Only the recipient may decrypt messages.
ParagonIE_Sodium_Compat::crypto_box_seal_open in vendor/paragonie/sodium_compat/src/Compat.php
Opens a message encrypted with crypto_box_seal(). Requires the recipient's keypair (sk || pk) to decrypt successfully.
ParagonIE_Sodium_Compat::crypto_box_secretkey in vendor/paragonie/sodium_compat/src/Compat.php
Extract the secret key from a crypto_box keypair.
ParagonIE_Sodium_Compat::crypto_box_seed_keypair in vendor/paragonie/sodium_compat/src/Compat.php
Generate an X25519 keypair from a seed.
ParagonIE_Sodium_Compat::crypto_generichash in vendor/paragonie/sodium_compat/src/Compat.php
Calculates a BLAKE2b hash, with an optional key.
ParagonIE_Sodium_Compat::crypto_generichash_final in vendor/paragonie/sodium_compat/src/Compat.php
Get the final BLAKE2b hash output for a given context.
ParagonIE_Sodium_Compat::crypto_generichash_init in vendor/paragonie/sodium_compat/src/Compat.php
Initialize a BLAKE2b hashing context, for use in a streaming interface.
ParagonIE_Sodium_Compat::crypto_generichash_update in vendor/paragonie/sodium_compat/src/Compat.php
Update a BLAKE2b hashing context with additional data.
ParagonIE_Sodium_Compat::crypto_kx in vendor/paragonie/sodium_compat/src/Compat.php
Perform a key exchange, between a designated client and a server.
ParagonIE_Sodium_Compat::crypto_pwhash in vendor/paragonie/sodium_compat/src/Compat.php
@psalm-suppress MixedArgument
ParagonIE_Sodium_Compat::crypto_pwhash_is_available in vendor/paragonie/sodium_compat/src/Compat.php
!Exclusive to sodium_compat!
ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256 in vendor/paragonie/sodium_compat/src/Compat.php
ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256_is_available in vendor/paragonie/sodium_compat/src/Compat.php
!Exclusive to sodium_compat!
ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256_str in vendor/paragonie/sodium_compat/src/Compat.php
ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256_str_verify in vendor/paragonie/sodium_compat/src/Compat.php
ParagonIE_Sodium_Compat::crypto_pwhash_str in vendor/paragonie/sodium_compat/src/Compat.php
@psalm-suppress MixedArgument
ParagonIE_Sodium_Compat::crypto_pwhash_str_verify in vendor/paragonie/sodium_compat/src/Compat.php
@psalm-suppress MixedArgument
ParagonIE_Sodium_Compat::crypto_scalarmult in vendor/paragonie/sodium_compat/src/Compat.php
Calculate the shared secret between your secret key and your recipient's public key.
ParagonIE_Sodium_Compat::crypto_scalarmult_base in vendor/paragonie/sodium_compat/src/Compat.php
Calculate an X25519 public key from an X25519 secret key.
ParagonIE_Sodium_Compat::crypto_secretbox in vendor/paragonie/sodium_compat/src/Compat.php
Authenticated symmetric-key encryption.
ParagonIE_Sodium_Compat::crypto_secretbox_open in vendor/paragonie/sodium_compat/src/Compat.php
Decrypts a message previously encrypted with crypto_secretbox().
ParagonIE_Sodium_Compat::crypto_shorthash in vendor/paragonie/sodium_compat/src/Compat.php
Calculates a SipHash-2-4 hash of a message for a given key.
ParagonIE_Sodium_Compat::crypto_sign in vendor/paragonie/sodium_compat/src/Compat.php
Returns a signed message. You probably want crypto_sign_detached() instead, which only returns the signature.
ParagonIE_Sodium_Compat::crypto_sign_detached in vendor/paragonie/sodium_compat/src/Compat.php
Calculate the Ed25519 signature of a message and return ONLY the signature.
ParagonIE_Sodium_Compat::crypto_sign_ed25519_pk_to_curve25519 in vendor/paragonie/sodium_compat/src/Compat.php
Convert an Ed25519 public key to a Curve25519 public key
ParagonIE_Sodium_Compat::crypto_sign_ed25519_sk_to_curve25519 in vendor/paragonie/sodium_compat/src/Compat.php
Convert an Ed25519 secret key to a Curve25519 secret key
ParagonIE_Sodium_Compat::crypto_sign_keypair in vendor/paragonie/sodium_compat/src/Compat.php
Generate a new random Ed25519 keypair.
ParagonIE_Sodium_Compat::crypto_sign_keypair_from_secretkey_and_publickey in vendor/paragonie/sodium_compat/src/Compat.php
ParagonIE_Sodium_Compat::crypto_sign_open in vendor/paragonie/sodium_compat/src/Compat.php
Validates a signed message then returns the message.
ParagonIE_Sodium_Compat::crypto_sign_publickey in vendor/paragonie/sodium_compat/src/Compat.php
Extract an Ed25519 public key from an Ed25519 keypair.
ParagonIE_Sodium_Compat::crypto_sign_publickey_from_secretkey in vendor/paragonie/sodium_compat/src/Compat.php
Calculate an Ed25519 public key from an Ed25519 secret key.
ParagonIE_Sodium_Compat::crypto_sign_secretkey in vendor/paragonie/sodium_compat/src/Compat.php
Extract an Ed25519 secret key from an Ed25519 keypair.
ParagonIE_Sodium_Compat::crypto_sign_seed_keypair in vendor/paragonie/sodium_compat/src/Compat.php
Generate an Ed25519 keypair from a seed.
ParagonIE_Sodium_Compat::crypto_sign_verify_detached in vendor/paragonie/sodium_compat/src/Compat.php
Verify the Ed25519 signature of a message.
ParagonIE_Sodium_Compat::crypto_stream in vendor/paragonie/sodium_compat/src/Compat.php
Expand a key and nonce into a keystream of pseudorandom bytes.
ParagonIE_Sodium_Compat::crypto_stream_xor in vendor/paragonie/sodium_compat/src/Compat.php
DANGER! UNAUTHENTICATED ENCRYPTION!
ParagonIE_Sodium_Compat::hex2bin in vendor/paragonie/sodium_compat/src/Compat.php
Cache-timing-safe implementation of hex2bin().
ParagonIE_Sodium_Compat::increment in vendor/paragonie/sodium_compat/src/Compat.php
Increase a string (little endian)
ParagonIE_Sodium_Compat::library_version_major in vendor/paragonie/sodium_compat/src/Compat.php
The equivalent to the libsodium minor version we aim to be compatible with (sans pwhash and memzero).
ParagonIE_Sodium_Compat::library_version_minor in vendor/paragonie/sodium_compat/src/Compat.php
The equivalent to the libsodium minor version we aim to be compatible with (sans pwhash and memzero).
ParagonIE_Sodium_Compat::memcmp in vendor/paragonie/sodium_compat/src/Compat.php
Compare two strings.
ParagonIE_Sodium_Compat::memzero in vendor/paragonie/sodium_compat/src/Compat.php
It's actually not possible to zero memory buffers in PHP. You need the native library for that.
ParagonIE_Sodium_Compat::pad in vendor/paragonie/sodium_compat/src/Compat.php
ParagonIE_Sodium_Compat::unpad in vendor/paragonie/sodium_compat/src/Compat.php
ParagonIE_Sodium_Compat::version_string in vendor/paragonie/sodium_compat/src/Compat.php
This emulates libsodium's version_string() function, except ours is prefixed with 'polyfill-'.