# v1.0.15 # Helpers sodium_memcmp sodium_bin2hex sodium_hex2bin sodium_bin2base64 sodium_base64_VARIANT_ORIGINAL sodium_base64_VARIANT_ORIGINAL_NO_PADDING sodium_base64_VARIANT_URLSAFE sodium_base64_VARIANT_URLSAFE_NO_PADDING sodium_base64_encoded_len sodium_base642bin sodium_increment sodium_add sodium_compare sodium_is_zero # padding sodium_pad sodium_unpad # secure memory sodium_memzero sodium_mlock sodium_munlock sodium_malloc sodium_allocarray sodium_free sodium_mprotect_noaccess sodium_mprotect_readonly sodium_mprotect_readwrite # random randombytes_random randombytes_uniform randombytes_buf randombytes_buf_deterministic randombytes_SEEDBYTES randombytes_keygen randombytes_close randombytes_stir # secret key ## auth enc crypto_secretbox_easy crypto_secretbox_open_easy crypto_secretbox_detached crypto_secretbox_open_detached crypto_secretbox_keygen crypto_secretbox_KEYBYTES crypto_secretbox_MACBYTES crypto_secretbox_NONCEBYTES ## enc stream crypto_secretstream_xchacha20poly1305_keygen crypto_secretstream_xchacha20poly1305_init_push crypto_secretstream_xchacha20poly1305_push crypto_secretstream_xchacha20poly1305_init_pull crypto_secretstream_xchacha20poly1305_pull crypto_secretstream_xchacha20poly1305_rekey crypto_secretstream_xchacha20poly1305_ABYTES crypto_secretstream_xchacha20poly1305_HEADERBYTES crypto_secretstream_xchacha20poly1305_KEYBYTES crypto_secretstream_xchacha20poly1305_MESSAGEBYTES_MAX crypto_secretstream_xchacha20poly1305_TAG_MESSAGE crypto_secretstream_xchacha20poly1305_TAG_PUSH crypto_secretstream_xchacha20poly1305_TAG_REKEY crypto_secretstream_xchacha20poly1305_TAG_FINAL ## enc seq ## auth crypto_auth crypto_auth_verify crypto_auth_keygen crypto_auth_BYTES crypto_auth_KEYBYTES ## AEAD ### chacha20-poly1305 #### orig crypto_aead_chacha20poly1305_encrypt crypto_aead_chacha20poly1305_decrypt crypto_aead_chacha20poly1305_encrypt_detached crypto_aead_chacha20poly1305_decrypt_detached crypto_aead_chacha20poly1305_keygen crypto_aead_chacha20poly1305_KEYBYTES crypto_aead_chacha20poly1305_NPUBBYTES crypto_aead_chacha20poly1305_ABYTES #### ietf crypto_aead_chacha20poly1305_ietf_encrypt crypto_aead_chacha20poly1305_ietf_decrypt crypto_aead_chacha20poly1305_ietf_encrypt_detached crypto_aead_chacha20poly1305_ietf_decrypt_detached crypto_aead_chacha20poly1305_ietf_keygen crypto_aead_chacha20poly1305_IETF_ABYTES crypto_aead_chacha20poly1305_IETF_KEYBYTES crypto_aead_chacha20poly1305_IETF_NPUBBYTES #### xchacha crypto_aead_xchacha20poly1305_ietf_encrypt crypto_aead_xchacha20poly1305_ietf_decrypt crypto_aead_xchacha20poly1305_ietf_encrypt_detached crypto_aead_xchacha20poly1305_ietf_decrypt_detached crypto_aead_xchacha20poly1305_ietf_keygen crypto_aead_xchacha20poly1305_ietf_KEYBYTES crypto_aead_xchacha20poly1305_ietf_NPUBBYTES crypto_aead_xchacha20poly1305_ietf_ABYTES ### aes256-gcm crypto_aead_aes256gcm_is_available crypto_aead_aes256gcm_encrypt crypto_aead_aes256gcm_decrypt crypto_aead_aes256gcm_encrypt_detached crypto_aead_aes256gcm_decrypt_detached crypto_aead_aes256gcm_keygen crypto_aead_aes256gcm_KEYBYTES crypto_aead_aes256gcm_NPUBBYTES crypto_aead_aes256gcm_ABYTES #### aes256-gcm with precomputed. crypto_aead_aes256gcm_beforenm crypto_aead_aes256gcm_encrypt_afternm crypto_aead_aes256gcm_decrypt_afternm crypto_aead_aes256gcm_encrypt_detached_afternm crypto_aead_aes256gcm_decrypt_detached_afternm crypto_aead_aes256gcm_KEYBYTES crypto_aead_aes256gcm_NPUBBYTES crypto_aead_aes256gcm_ABYTES # public key ## auth crypto_box_keypair crypto_box_seed_keypair crypto_scalarmult_base crypto_box_easy crypto_box_open_easy crypto_box_detached crypto_box_open_detached crypto_box_beforenm crypto_box_easy_afternm crypto_box_open_easy_afternm crypto_box_detached_afternm crypto_box_open_detached_afternm crypto_box_PUBLICKEYBYTES crypto_box_SECRETKEYBYTES crypto_box_MACBYTES crypto_box_NONCEBYTES crypto_box_SEEDBYTES crypto_box_BEFORENMBYTES ## sigs crypto_sign_keypair crypto_sign_seed_keypair crypto_sign crypto_sign_open crypto_sign_detached crypto_sign_verify_detached crypto_sign_init crypto_sign_update crypto_sign_final_create crypto_sign_final_verify crypto_sign_ed25519_sk_to_seed crypto_sign_ed25519_sk_to_pk crypto_sign_PUBLICKEYBYTES crypto_sign_SECRETKEYBYTES crypto_sign_BYTES crypto_sign_SEEDBYTES ## sealed boxes crypto_box_seal crypto_box_seal_open crypto_box_SEALBYTES # hashing ## generic hashing crypto_generichash crypto_generichash_init crypto_generichash_update crypto_generichash_final crypto_generichash_keygen crypto_generichash_BYTES crypto_generichash_BYTES_MIN crypto_generichash_BYTES_MAX crypto_generichash_KEYBYTES crypto_generichash_KEYBYTES_MIN crypto_generichash_KEYBYTES_MAX ## sip crypto_shorthash crypto_shorthash_BYTES crypto_shorthash_KEYBYTES # pwd hashing ## argon2 crypto_pwhash crypto_pwhash_str crypto_pwhash_str_verify crypto_pwhash_str_needs_rehash crypto_pwhash_ALG_ARGON2I13 crypto_pwhash_ALG_ARGON2ID13 crypto_pwhash_ALG_DEFAULT crypto_pwhash_BYTES_MAX crypto_pwhash_BYTES_MIN crypto_pwhash_MEMLIMIT_INTERACTIVE crypto_pwhash_MEMLIMIT_MAX crypto_pwhash_MEMLIMIT_MIN crypto_pwhash_MEMLIMIT_MODERATE crypto_pwhash_MEMLIMIT_SENSITIVE crypto_pwhash_OPSLIMIT_INTERACTIVE crypto_pwhash_OPSLIMIT_MAX crypto_pwhash_OPSLIMIT_MIN crypto_pwhash_OPSLIMIT_MODERATE crypto_pwhash_OPSLIMIT_SENSITIVE crypto_pwhash_PASSWD_MAX crypto_pwhash_PASSWD_MIN crypto_pwhash_SALTBYTES crypto_pwhash_STRBYTES crypto_pwhash_STRPREFIX # kdf crypto_kdf_keygen crypto_kdf_derive_from_key crypto_kdf_PRIMITIVE crypto_kdf_BYTES_MIN crypto_kdf_BYTES_MAX crypto_kdf_CONTEXTBYTES crypto_kdf_KEYBYTES ## Unsure if these are for completeness or meant ## misuseresistant crypto_core_hchacha20 crypto_core_hchacha20_KEYBYTES crypto_core_hchacha20_INPUTBYTES crypto_core_hchacha20_OUTPUTBYTES crypto_core_hchacha20_CONSTBYTES # kx crypto_kx_keypair crypto_kx_seed_keypair crypto_kx_client_session_keys crypto_kx_server_session_keys crypto_kx_PUBLICKEYBYTES crypto_kx_SECRETKEYBYTES crypto_kx_SEEDBYTES crypto_kx_SESSIONKEYBYTES crypto_kx_PRIMITIVE # advanced ## sha2 crypto_hash_sha256 crypto_hash_sha256_init crypto_hash_sha256_update crypto_hash_sha256_final crypto_hash_sha512 crypto_hash_sha512_init crypto_hash_sha512_update crypto_hash_sha512_final crypto_hash_sha256_BYTES crypto_hash_sha512_BYTES ## hmac-sha2 crypto_auth_hmacsha256 crypto_auth_hmacsha256_verify crypto_auth_hmacsha256_init crypto_auth_hmacsha256_update crypto_auth_hmacsha256_final crypto_auth_hmacsha256_keygen crypto_auth_hmacsha512 crypto_auth_hmacsha512_verify crypto_auth_hmacsha512_init crypto_auth_hmacsha512_update crypto_auth_hmacsha512_final crypto_auth_hmacsha512_keygen crypto_auth_hmacsha512256 crypto_auth_hmacsha512256_verify crypto_auth_hmacsha512256_init crypto_auth_hmacsha512256_update crypto_auth_hmacsha512256_final crypto_auth_hmacsha512256_keygen crypto_auth_hmacsha256_BYTES crypto_auth_hmacsha256_KEYBYTES crypto_auth_hmacsha512_BYTES crypto_auth_hmacsha512_KEYBYTES crypto_auth_hmacsha512256_BYTES crypto_auth_hmacsha512256_KEYBYTES ## scrypt crypto_pwhash_scryptsalsa208sha256 crypto_pwhash_scryptsalsa208sha256_str crypto_pwhash_scryptsalsa208sha256_str_verify crypto_pwhash_scryptsalsa208sha256_ll crypto_pwhash_scryptsalsa208sha256_BYTES_MIN crypto_pwhash_scryptsalsa208sha256_BYTES_MAX crypto_pwhash_scryptsalsa208sha256_PASSWD_MIN crypto_pwhash_scryptsalsa208sha256_PASSWD_MAX crypto_pwhash_scryptsalsa208sha256_SALTBYTES crypto_pwhash_scryptsalsa208sha256_STRBYTES crypto_pwhash_scryptsalsa208sha256_STRPREFIX crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MIN crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MAX crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MIN crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MAX crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_INTERACTIVE crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVE crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_SENSITIVE crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_SENSITIVE ## dh crypto_scalarmult_base crypto_scalarmult crypto_scalarmult_BYTES crypto_scalarmult_SCALARBYTES ## ota crypto_onetimeauth crypto_onetimeauth_verify crypto_onetimeauth_init crypto_onetimeauth_update crypto_onetimeauth_final crypto_onetimeauth_keygen crypto_onetimeauth_BYTES crypto_onetimeauth_KEYBYTES ## stream ### chacha20 crypto_stream_chacha20 crypto_stream_chacha20_xor crypto_stream_chacha20_xor_ic crypto_stream_chacha20_ietf crypto_stream_chacha20_ietf_xor crypto_stream_chacha20_ietf_xor_ic crypto_stream_chacha20_KEYBYTES crypto_stream_chacha20_NONCEBYTES crypto_stream_chacha20_ietf_KEYBYTES crypto_stream_chacha20_ietf_NONCEBYTES ### xchacha20 crypto_stream_xchacha20 crypto_stream_xchacha20_xor crypto_stream_xchacha20_xor_ic crypto_stream_xchacha20_keygen crypto_stream_xchacha20_KEYBYTES crypto_stream_xchacha20_NONCEBYTES ### salsa20 crypto_stream_salsa20 crypto_stream_salsa20_xor crypto_stream_salsa20_xor_ic crypto_stream_salsa20_keygen crypto_stream_salsa20_KEYBYTES crypto_stream_salsa20_NONCEBYTES crypto_stream_salsa2012 crypto_stream_salsa2012_xor crypto_stream_salsa2012_keygen crypto_stream_salsa208 crypto_stream_salsa208_xor crypto_stream_salsa208_keygen ### xsalsa20 crypto_stream crypto_stream_xor crypto_stream_keygen crypto_stream_KEYBYTES crypto_stream_NONCEBYTES crypto_stream_PRIMITIVE ## convert crypto_sign_ed25519_pk_to_curve25519 crypto_sign_ed25519_sk_to_curve25519 ## custom rng randombytes_set_implementation