Better PHP Documentation
opinionated
Open main menu
Get Started
Documentation
Community
Training
Better PHP Documentation
Close menu
Get Started
Documentation
Community
Training
Log in
ๅๆข่ฏญ่จ:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
Sodium ๅฝๆฐ
็ฎๅฝ
sodium_add
โ Add large numbers
sodium_base642bin
โ Decodes a base64-encoded string into raw binary.
sodium_bin2base64
โ Encodes a raw binary string with base64.
sodium_bin2hex
โ Encode to hexadecimal
sodium_compare
โ Compare large numbers
sodium_crypto_aead_aegis128l_decrypt
โ Verify then decrypt a message with AEGIS-128L
sodium_crypto_aead_aegis128l_encrypt
โ Encrypt then authenticate a message with AEGIS-128L
sodium_crypto_aead_aegis128l_keygen
โ Generate a random AEGIS-128L key
sodium_crypto_aead_aegis256_decrypt
โ Verify then decrypt a message with AEGIS-256
sodium_crypto_aead_aegis256_encrypt
โ Encrypt then authenticate a message with AEGIS-256
sodium_crypto_aead_aegis256_keygen
โ Generate a random AEGIS-256 key
sodium_crypto_aead_aes256gcm_decrypt
โ Verify then decrypt a message with AES-256-GCM
sodium_crypto_aead_aes256gcm_encrypt
โ Encrypt then authenticate with AES-256-GCM
sodium_crypto_aead_aes256gcm_is_available
โ Check if hardware supports AES256-GCM
sodium_crypto_aead_aes256gcm_keygen
โ Generate a random AES-256-GCM key
sodium_crypto_aead_chacha20poly1305_decrypt
โ Verify then decrypt with ChaCha20-Poly1305
sodium_crypto_aead_chacha20poly1305_encrypt
โ Encrypt then authenticate with ChaCha20-Poly1305
sodium_crypto_aead_chacha20poly1305_ietf_decrypt
โ Verify that the ciphertext includes a valid tag
sodium_crypto_aead_chacha20poly1305_ietf_encrypt
โ Encrypt a message
sodium_crypto_aead_chacha20poly1305_ietf_keygen
โ Generate a random ChaCha20-Poly1305 (IETF) key.
sodium_crypto_aead_chacha20poly1305_keygen
โ Generate a random ChaCha20-Poly1305 key.
sodium_crypto_aead_xchacha20poly1305_ietf_decrypt
โ (Preferred) Verify then decrypt with XChaCha20-Poly1305
sodium_crypto_aead_xchacha20poly1305_ietf_encrypt
โ (Preferred) Encrypt then authenticate with XChaCha20-Poly1305
sodium_crypto_aead_xchacha20poly1305_ietf_keygen
โ Generate a random XChaCha20-Poly1305 key.
sodium_crypto_auth
โ Compute a tag for the message
sodium_crypto_auth_keygen
โ Generate a random key for sodium_crypto_auth
sodium_crypto_auth_verify
โ Verifies that the tag is valid for the message
sodium_crypto_box
โ Authenticated public-key encryption
sodium_crypto_box_keypair
โ Randomly generate a secret key and a corresponding public key
sodium_crypto_box_keypair_from_secretkey_and_publickey
โ Create a unified keypair string from a secret key and public key
sodium_crypto_box_open
โ Authenticated public-key decryption
sodium_crypto_box_publickey
โ Extract the public key from a crypto_box keypair
sodium_crypto_box_publickey_from_secretkey
โ Calculate the public key from a secret key
sodium_crypto_box_seal
โ Anonymous public-key encryption
sodium_crypto_box_seal_open
โ Anonymous public-key decryption
sodium_crypto_box_secretkey
โ Extracts the secret key from a crypto_box keypair
sodium_crypto_box_seed_keypair
โ Deterministically derive the key pair from a single key
sodium_crypto_core_ristretto255_add
โ Adds an element
sodium_crypto_core_ristretto255_from_hash
โ Maps a vector
sodium_crypto_core_ristretto255_is_valid_point
โ Determines if a point on the ristretto255 curve
sodium_crypto_core_ristretto255_random
โ Generates a random key
sodium_crypto_core_ristretto255_scalar_add
โ Adds a scalar value
sodium_crypto_core_ristretto255_scalar_complement
โ The sodium_crypto_core_ristretto255_scalar_complement purpose
sodium_crypto_core_ristretto255_scalar_invert
โ Inverts a scalar value
sodium_crypto_core_ristretto255_scalar_mul
โ Multiplies a scalar value
sodium_crypto_core_ristretto255_scalar_negate
โ Negates a scalar value
sodium_crypto_core_ristretto255_scalar_random
โ Generates a random key
sodium_crypto_core_ristretto255_scalar_reduce
โ Reduces a scalar value
sodium_crypto_core_ristretto255_scalar_sub
โ Subtracts a scalar value
sodium_crypto_core_ristretto255_sub
โ Subtracts an element
sodium_crypto_generichash
โ Get a hash of the message
sodium_crypto_generichash_final
โ Complete the hash
sodium_crypto_generichash_init
โ Initialize a hash for streaming
sodium_crypto_generichash_keygen
โ Generate a random generichash key
sodium_crypto_generichash_update
โ Add message to a hash
sodium_crypto_kdf_derive_from_key
โ Derive a subkey
sodium_crypto_kdf_keygen
โ Generate a random root key for the KDF interface
sodium_crypto_kx_client_session_keys
โ Calculate the client-side session keys.
sodium_crypto_kx_keypair
โ Creates a new sodium keypair
sodium_crypto_kx_publickey
โ Extract the public key from a crypto_kx keypair
sodium_crypto_kx_secretkey
โ Extract the secret key from a crypto_kx keypair.
sodium_crypto_kx_seed_keypair
โ Description
sodium_crypto_kx_server_session_keys
โ Calculate the server-side session keys.
sodium_crypto_pwhash
โ Derive a key from a password, using Argon2
sodium_crypto_pwhash_scryptsalsa208sha256
โ Derives a key from a password, using scrypt
sodium_crypto_pwhash_scryptsalsa208sha256_str
โ Get an ASCII encoded hash
sodium_crypto_pwhash_scryptsalsa208sha256_str_verify
โ Verify that the password is a valid password verification string
sodium_crypto_pwhash_str
โ Get an ASCII-encoded hash
sodium_crypto_pwhash_str_needs_rehash
โ Determine whether or not to rehash a password
sodium_crypto_pwhash_str_verify
โ Verifies that a password matches a hash
sodium_crypto_scalarmult
โ Compute a shared secret given a user's secret key and another user's public key
sodium_crypto_scalarmult_base
โ ๅซๅ sodium_crypto_box_publickey_from_secretkey
sodium_crypto_scalarmult_ristretto255
โ Computes a shared secret
sodium_crypto_scalarmult_ristretto255_base
โ Calculates the public key from a secret key
sodium_crypto_secretbox
โ Authenticated shared-key encryption
sodium_crypto_secretbox_keygen
โ Generate random key for sodium_crypto_secretbox
sodium_crypto_secretbox_open
โ Authenticated shared-key decryption
sodium_crypto_secretstream_xchacha20poly1305_init_pull
โ Initialize a secretstream context for decryption
sodium_crypto_secretstream_xchacha20poly1305_init_push
โ Initialize a secretstream context for encryption
sodium_crypto_secretstream_xchacha20poly1305_keygen
โ Generate a random secretstream key.
sodium_crypto_secretstream_xchacha20poly1305_pull
โ Decrypt a chunk of data from an encrypted stream
sodium_crypto_secretstream_xchacha20poly1305_push
โ Encrypt a chunk of data so that it can safely be decrypted in a streaming API
sodium_crypto_secretstream_xchacha20poly1305_rekey
โ Explicitly rotate the key in the secretstream state
sodium_crypto_shorthash
โ Compute a short hash of a message and key
sodium_crypto_shorthash_keygen
โ Get random bytes for key
sodium_crypto_sign
โ Sign a message
sodium_crypto_sign_detached
โ Sign the message
sodium_crypto_sign_ed25519_pk_to_curve25519
โ Convert an Ed25519 public key to a Curve25519 public key
sodium_crypto_sign_ed25519_sk_to_curve25519
โ Convert an Ed25519 secret key to a Curve25519 secret key
sodium_crypto_sign_keypair
โ Randomly generate a secret key and a corresponding public key
sodium_crypto_sign_keypair_from_secretkey_and_publickey
โ Join a secret key and public key together
sodium_crypto_sign_open
โ Check that the signed message has a valid signature
sodium_crypto_sign_publickey
โ Extract the Ed25519 public key from a keypair
sodium_crypto_sign_publickey_from_secretkey
โ Extract the Ed25519 public key from the secret key
sodium_crypto_sign_secretkey
โ Extract the Ed25519 secret key from a keypair
sodium_crypto_sign_seed_keypair
โ Deterministically derive the key pair from a single key
sodium_crypto_sign_verify_detached
โ Verify signature for the message
sodium_crypto_stream
โ Generate a deterministic sequence of bytes from a seed
sodium_crypto_stream_keygen
โ Generate a random sodium_crypto_stream key.
sodium_crypto_stream_xchacha20
โ Expands the key and nonce into a keystream of pseudorandom bytes
sodium_crypto_stream_xchacha20_keygen
โ Returns a secure random key
sodium_crypto_stream_xchacha20_xor
โ Encrypts a message using a nonce and a secret key (no authentication)
sodium_crypto_stream_xchacha20_xor_ic
โ Encrypts a message using a nonce and a secret key (no authentication)
sodium_crypto_stream_xor
โ Encrypt a message without authentication
sodium_hex2bin
โ Decodes a hexadecimally encoded binary string
sodium_increment
โ Increment large number
sodium_memcmp
โ Test for equality in constant-time
sodium_memzero
โ Overwrite a string with NUL characters
sodium_pad
โ Add padding data
sodium_unpad
โ Remove padding data
ๅ็ฐไบ้ฎ้ข๏ผ
ไบ่งฃๅฆไฝๆน่ฟๆญค้กต้ข
โข
ๆไบคๆๅ่ฏทๆฑ
โข
ๆฅๅไธไธช้่ฏฏ
๏ผ
ๆทปๅ ๅคๆณจ
็จๆท่ดก็ฎ็ๅคๆณจ
ๆญค้กต้ขๅฐๆ ็จๆท่ดก็ฎ็ๅคๆณจใ
0
pcntl_sigtimedwait
Waits for signals, with a timeout
0
similar_text
Calculate the similarity between two strings
0
boolval
Get the boolean value of a variable
0
curl_multi_close
Close a set of cURL handles
0
imap_body
Read the message body
0
mb_strpos
Find position of first occurrence of string in a string
0
pg_send_prepare
Sends a request to create a prepared statement with the given parameters, without waiting for completion
0
swoole_native_socket_bind
0
Arr::prependKeysWith
0
zend_version
Gets the version of the current Zend engine
^