public class Sodium
extends java.lang.Object
| Constructor and Description |
|---|
Sodium() |
| Modifier and Type | Method and Description |
|---|---|
static int |
crypto_aead_chacha20poly1305_abytes() |
static int |
crypto_aead_chacha20poly1305_decrypt_detached(byte[] m,
byte[] nsec,
byte[] c,
int clen,
byte[] mac,
byte[] ad,
int adlen,
byte[] npub,
byte[] k) |
static int |
crypto_aead_chacha20poly1305_decrypt(byte[] m,
int[] mlen_p,
byte[] nsec,
byte[] c,
int clen,
byte[] ad,
int adlen,
byte[] npub,
byte[] k) |
static int |
crypto_aead_chacha20poly1305_encrypt_detached(byte[] c,
byte[] mac,
int[] maclen_p,
byte[] m,
int mlen,
byte[] ad,
int adlen,
byte[] nsec,
byte[] npub,
byte[] k) |
static int |
crypto_aead_chacha20poly1305_encrypt(byte[] c,
int[] clen_p,
byte[] m,
int mlen,
byte[] ad,
int adlen,
byte[] nsec,
byte[] npub,
byte[] k) |
static int |
crypto_aead_chacha20poly1305_ietf_abytes() |
static int |
crypto_aead_chacha20poly1305_ietf_decrypt_detached(byte[] m,
byte[] nsec,
byte[] c,
int clen,
byte[] mac,
byte[] ad,
int adlen,
byte[] npub,
byte[] k) |
static int |
crypto_aead_chacha20poly1305_ietf_decrypt(byte[] m,
int[] mlen_p,
byte[] nsec,
byte[] c,
int clen,
byte[] ad,
int adlen,
byte[] npub,
byte[] k) |
static int |
crypto_aead_chacha20poly1305_ietf_encrypt_detached(byte[] c,
byte[] mac,
int[] maclen_p,
byte[] m,
int mlen,
byte[] ad,
int adlen,
byte[] nsec,
byte[] npub,
byte[] k) |
static int |
crypto_aead_chacha20poly1305_ietf_encrypt(byte[] c,
int[] clen_p,
byte[] m,
int mlen,
byte[] ad,
int adlen,
byte[] nsec,
byte[] npub,
byte[] k) |
static int |
crypto_aead_chacha20poly1305_ietf_keybytes() |
static void |
crypto_aead_chacha20poly1305_ietf_keygen(byte[] k) |
static int |
crypto_aead_chacha20poly1305_ietf_messagebytes_max() |
static int |
crypto_aead_chacha20poly1305_ietf_npubbytes() |
static int |
crypto_aead_chacha20poly1305_ietf_nsecbytes() |
static int |
crypto_aead_chacha20poly1305_keybytes() |
static void |
crypto_aead_chacha20poly1305_keygen(byte[] k) |
static int |
crypto_aead_chacha20poly1305_messagebytes_max() |
static int |
crypto_aead_chacha20poly1305_npubbytes() |
static int |
crypto_aead_chacha20poly1305_nsecbytes() |
static int |
crypto_aead_xchacha20poly1305_ietf_abytes() |
static int |
crypto_aead_xchacha20poly1305_ietf_decrypt_detached(byte[] m,
byte[] nsec,
byte[] c,
int clen,
byte[] mac,
byte[] ad,
int adlen,
byte[] npub,
byte[] k) |
static int |
crypto_aead_xchacha20poly1305_ietf_decrypt(byte[] m,
int[] mlen_p,
byte[] nsec,
byte[] c,
int clen,
byte[] ad,
int adlen,
byte[] npub,
byte[] k) |
static int |
crypto_aead_xchacha20poly1305_ietf_encrypt_detached(byte[] c,
byte[] mac,
int[] maclen_p,
byte[] m,
int mlen,
byte[] ad,
int adlen,
byte[] nsec,
byte[] npub,
byte[] k) |
static int |
crypto_aead_xchacha20poly1305_ietf_encrypt(byte[] c,
int[] clen_p,
byte[] m,
int mlen,
byte[] ad,
int adlen,
byte[] nsec,
byte[] npub,
byte[] k) |
static int |
crypto_aead_xchacha20poly1305_ietf_keybytes() |
static void |
crypto_aead_xchacha20poly1305_ietf_keygen(byte[] k) |
static int |
crypto_aead_xchacha20poly1305_ietf_messagebytes_max() |
static int |
crypto_aead_xchacha20poly1305_ietf_npubbytes() |
static int |
crypto_aead_xchacha20poly1305_ietf_nsecbytes() |
static int |
crypto_auth_bytes() |
static int |
crypto_auth_hmacsha256_bytes() |
static int |
crypto_auth_hmacsha256_final(byte[] state,
byte[] out) |
static int |
crypto_auth_hmacsha256_init(byte[] state,
byte[] key,
int keylen) |
static int |
crypto_auth_hmacsha256_keybytes() |
static int |
crypto_auth_hmacsha256_statebytes() |
static int |
crypto_auth_hmacsha256_update(byte[] state,
byte[] in,
int inlen) |
static int |
crypto_auth_hmacsha256_verify(byte[] h,
byte[] in,
int inlen,
byte[] k) |
static int |
crypto_auth_hmacsha256(byte[] out,
byte[] in,
int inlen,
byte[] k) |
static int |
crypto_auth_hmacsha512_bytes() |
static int |
crypto_auth_hmacsha512_final(byte[] state,
byte[] out) |
static int |
crypto_auth_hmacsha512_init(byte[] state,
byte[] key,
int keylen) |
static int |
crypto_auth_hmacsha512_keybytes() |
static int |
crypto_auth_hmacsha512_statebytes() |
static int |
crypto_auth_hmacsha512_update(byte[] state,
byte[] in,
int inlen) |
static int |
crypto_auth_hmacsha512_verify(byte[] h,
byte[] in,
int inlen,
byte[] k) |
static int |
crypto_auth_hmacsha512(byte[] out,
byte[] in,
int inlen,
byte[] k) |
static int |
crypto_auth_hmacsha512256_bytes() |
static int |
crypto_auth_hmacsha512256_final(byte[] state,
byte[] out) |
static int |
crypto_auth_hmacsha512256_init(byte[] state,
byte[] key,
int keylen) |
static int |
crypto_auth_hmacsha512256_keybytes() |
static int |
crypto_auth_hmacsha512256_statebytes() |
static int |
crypto_auth_hmacsha512256_update(byte[] state,
byte[] in,
int inlen) |
static int |
crypto_auth_hmacsha512256_verify(byte[] h,
byte[] in,
int inlen,
byte[] k) |
static int |
crypto_auth_hmacsha512256(byte[] out,
byte[] in,
int inlen,
byte[] k) |
static int |
crypto_auth_keybytes() |
static byte[] |
crypto_auth_primitive() |
static int |
crypto_auth_verify(byte[] src_mac,
byte[] src_input,
int input_len,
byte[] src_key) |
static int |
crypto_auth(byte[] dst_mac,
byte[] src_input,
int input_len,
byte[] src_key) |
static int |
crypto_box_afternm(byte[] dst_cipher,
byte[] src_msg,
int msg_len,
byte[] src_nonce,
byte[] src_key) |
static int |
crypto_box_beforenm(byte[] dst_shared_key,
byte[] remote_public_key,
byte[] local_private_key) |
static int |
crypto_box_beforenmbytes() |
static int |
crypto_box_boxzerobytes() |
static int |
crypto_box_curve25519xchacha20poly1305_beforenm(byte[] k,
byte[] pk,
byte[] sk) |
static int |
crypto_box_curve25519xchacha20poly1305_beforenmbytes() |
static int |
crypto_box_curve25519xchacha20poly1305_detached_afternm(byte[] c,
byte[] mac,
byte[] m,
int mlen,
byte[] n,
byte[] k) |
static int |
crypto_box_curve25519xchacha20poly1305_detached(byte[] c,
byte[] mac,
byte[] m,
int mlen,
byte[] n,
byte[] pk,
byte[] sk) |
static int |
crypto_box_curve25519xchacha20poly1305_easy_afternm(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] k) |
static int |
crypto_box_curve25519xchacha20poly1305_easy(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] pk,
byte[] sk) |
static int |
crypto_box_curve25519xchacha20poly1305_keypair(byte[] pk,
byte[] sk) |
static int |
crypto_box_curve25519xchacha20poly1305_macbytes() |
static int |
crypto_box_curve25519xchacha20poly1305_messagebytes_max() |
static int |
crypto_box_curve25519xchacha20poly1305_noncebytes() |
static int |
crypto_box_curve25519xchacha20poly1305_open_detached_afternm(byte[] m,
byte[] c,
byte[] mac,
int clen,
byte[] n,
byte[] k) |
static int |
crypto_box_curve25519xchacha20poly1305_open_detached(byte[] m,
byte[] c,
byte[] mac,
int clen,
byte[] n,
byte[] pk,
byte[] sk) |
static int |
crypto_box_curve25519xchacha20poly1305_open_easy_afternm(byte[] m,
byte[] c,
int clen,
byte[] n,
byte[] k) |
static int |
crypto_box_curve25519xchacha20poly1305_open_easy(byte[] m,
byte[] c,
int clen,
byte[] n,
byte[] pk,
byte[] sk) |
static int |
crypto_box_curve25519xchacha20poly1305_publickeybytes() |
static int |
crypto_box_curve25519xchacha20poly1305_seal_open(byte[] m,
byte[] c,
int clen,
byte[] pk,
byte[] sk) |
static int |
crypto_box_curve25519xchacha20poly1305_seal(byte[] c,
byte[] m,
int mlen,
byte[] pk) |
static int |
crypto_box_curve25519xchacha20poly1305_sealbytes() |
static int |
crypto_box_curve25519xchacha20poly1305_secretkeybytes() |
static int |
crypto_box_curve25519xchacha20poly1305_seed_keypair(byte[] pk,
byte[] sk,
byte[] seed) |
static int |
crypto_box_curve25519xchacha20poly1305_seedbytes() |
static int |
crypto_box_curve25519xsalsa20poly1305_afternm(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] k) |
static int |
crypto_box_curve25519xsalsa20poly1305_beforenm(byte[] k,
byte[] pk,
byte[] sk) |
static int |
crypto_box_curve25519xsalsa20poly1305_beforenmbytes() |
static int |
crypto_box_curve25519xsalsa20poly1305_boxzerobytes() |
static int |
crypto_box_curve25519xsalsa20poly1305_keypair(byte[] pk,
byte[] sk) |
static int |
crypto_box_curve25519xsalsa20poly1305_macbytes() |
static int |
crypto_box_curve25519xsalsa20poly1305_noncebytes() |
static int |
crypto_box_curve25519xsalsa20poly1305_open_afternm(byte[] m,
byte[] c,
int clen,
byte[] n,
byte[] k) |
static int |
crypto_box_curve25519xsalsa20poly1305_open(byte[] m,
byte[] c,
int clen,
byte[] n,
byte[] pk,
byte[] sk) |
static int |
crypto_box_curve25519xsalsa20poly1305_publickeybytes() |
static int |
crypto_box_curve25519xsalsa20poly1305_secretkeybytes() |
static int |
crypto_box_curve25519xsalsa20poly1305_seed_keypair(byte[] pk,
byte[] sk,
byte[] seed) |
static int |
crypto_box_curve25519xsalsa20poly1305_seedbytes() |
static int |
crypto_box_curve25519xsalsa20poly1305_zerobytes() |
static int |
crypto_box_curve25519xsalsa20poly1305(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] pk,
byte[] sk) |
static int |
crypto_box_detached_afternm(byte[] dst_cipher,
byte[] dst_mac,
byte[] src_plain,
int plain_len,
byte[] nonce,
byte[] shared_key) |
static int |
crypto_box_detached(byte[] dst_cipher,
byte[] dst_mac,
byte[] src_plain,
int plain_len,
byte[] nonces,
byte[] remote_public_key,
byte[] local_private_key) |
static int |
crypto_box_easy_afternm(byte[] dst_cipher,
byte[] src_plain,
int plain_len,
byte[] nonce,
byte[] shared_key) |
static int |
crypto_box_easy(byte[] dst_cipher,
byte[] src_plain,
int plain_len,
byte[] nonce,
byte[] remote_public_key,
byte[] local_private_key) |
static int |
crypto_box_keypair(byte[] dst_public_Key,
byte[] dst_private_key) |
static int |
crypto_box_macbytes() |
static int |
crypto_box_noncebytes() |
static int |
crypto_box_open_afternm(byte[] dst_msg,
byte[] src_cipher,
int cipher_len,
byte[] src_nonce,
byte[] src_key) |
static int |
crypto_box_open_detached_afternm(byte[] dst_plain,
byte[] src_cipher,
byte[] src_mac,
int cipher_len,
byte[] nonce,
byte[] shared_key) |
static int |
crypto_box_open_detached(byte[] dst_plain,
byte[] src_cipher,
byte[] src_mac,
int cipher_len,
byte[] nonce,
byte[] remote_public_key,
byte[] local_private_key) |
static int |
crypto_box_open_easy_afternm(byte[] dst_plain,
byte[] src_cipher,
int cipher_len,
byte[] nonce,
byte[] shared_key) |
static int |
crypto_box_open_easy(byte[] dst_plain,
byte[] src_cipher,
int cipher_len,
byte[] nonce,
byte[] remote_public_key,
byte[] local_private_key) |
static int |
crypto_box_open(byte[] dst_msg,
byte[] src_cipher,
int cipher_len,
byte[] src_nonce,
byte[] src_pub,
byte[] src_secret) |
static byte[] |
crypto_box_primitive() |
static int |
crypto_box_publickeybytes() |
static int |
crypto_box_seal_open(byte[] dst_plain,
byte[] src_cipher,
int cipher_len,
byte[] local_public_key,
byte[] local_private_key) |
static int |
crypto_box_seal(byte[] dst_cipher,
byte[] src_plain,
int plain_len,
byte[] remote_public_key) |
static int |
crypto_box_sealbytes() |
static int |
crypto_box_secretkeybytes() |
static int |
crypto_box_seed_keypair(byte[] dst_public_key,
byte[] dst_private_key,
byte[] src_seed) |
static int |
crypto_box_seedbytes() |
static int |
crypto_box_zerobytes() |
static int |
crypto_box(byte[] dst_cipher,
byte[] src_msg,
int msg_len,
byte[] src_nonce,
byte[] src_pub,
byte[] src_secret) |
static int |
crypto_core_hsalsa20_constbytes() |
static int |
crypto_core_hsalsa20_inputbytes() |
static int |
crypto_core_hsalsa20_keybytes() |
static int |
crypto_core_hsalsa20_outputbytes() |
static int |
crypto_core_hsalsa20(byte[] out,
byte[] in,
byte[] k,
byte[] c) |
static int |
crypto_core_salsa20_constbytes() |
static int |
crypto_core_salsa20_inputbytes() |
static int |
crypto_core_salsa20_keybytes() |
static int |
crypto_core_salsa20_outputbytes() |
static int |
crypto_core_salsa20(byte[] out,
byte[] in,
byte[] k,
byte[] c) |
static int |
crypto_generichash_blake2b_bytes_max() |
static int |
crypto_generichash_blake2b_bytes_min() |
static int |
crypto_generichash_blake2b_bytes() |
static int |
crypto_generichash_blake2b_final(byte[] state,
byte[] out,
int outlen) |
static int |
crypto_generichash_blake2b_init_salt_personal(byte[] state,
byte[] key,
int keylen,
int outlen,
byte[] salt,
byte[] personal) |
static int |
crypto_generichash_blake2b_init(byte[] state,
byte[] key,
int keylen,
int outlen) |
static int |
crypto_generichash_blake2b_keybytes_max() |
static int |
crypto_generichash_blake2b_keybytes_min() |
static int |
crypto_generichash_blake2b_keybytes() |
static int |
crypto_generichash_blake2b_personalbytes() |
static int |
crypto_generichash_blake2b_salt_personal(byte[] out,
int outlen,
byte[] in,
int inlen,
byte[] key,
int keylen,
byte[] salt,
byte[] personal) |
static int |
crypto_generichash_blake2b_saltbytes() |
static int |
crypto_generichash_blake2b_update(byte[] state,
byte[] in,
int inlen) |
static int |
crypto_generichash_blake2b(byte[] out,
int outlen,
byte[] in,
int inlen,
byte[] key,
int keylen) |
static int |
crypto_generichash_bytes_max() |
static int |
crypto_generichash_bytes_min() |
static int |
crypto_generichash_bytes() |
static int |
crypto_generichash_final(byte[] state,
byte[] dst_out,
int out_len) |
static int |
crypto_generichash_init(byte[] state,
byte[] src_key,
int key_len,
int out_len) |
static int |
crypto_generichash_keybytes_max() |
static int |
crypto_generichash_keybytes_min() |
static int |
crypto_generichash_keybytes() |
static byte[] |
crypto_generichash_primitive() |
static int |
crypto_generichash_statebytes() |
static int |
crypto_generichash_update(byte[] state,
byte[] src_input,
int input_len) |
static int |
crypto_generichash(byte[] dst_hash,
int dst_len,
byte[] src_input,
int input_len,
byte[] src_key,
int key_len) |
static int |
crypto_hash_sha256_bytes() |
static int |
crypto_hash_sha256_final(byte[] state,
byte[] out) |
static int |
crypto_hash_sha256_init(byte[] state) |
static int |
crypto_hash_sha256_statebytes() |
static int |
crypto_hash_sha256_update(byte[] state,
byte[] in,
int inlen) |
static int |
crypto_hash_sha256(byte[] out,
byte[] in,
int inlen) |
static int |
crypto_hash_sha512_bytes() |
static int |
crypto_hash_sha512_final(byte[] state,
byte[] out) |
static int |
crypto_hash_sha512_init(byte[] state) |
static int |
crypto_hash_sha512_statebytes() |
static int |
crypto_hash_sha512_update(byte[] state,
byte[] in,
int inlen) |
static int |
crypto_hash_sha512(byte[] out,
byte[] in,
int inlen) |
static int |
crypto_kdf_bytes_max() |
static int |
crypto_kdf_bytes_min() |
static int |
crypto_kdf_contextbytes() |
static int |
crypto_kdf_derive_from_key(byte[] subkey,
int subkey_len,
int subkey_id,
byte[] ctx,
byte[] key) |
static int |
crypto_kdf_keybytes() |
static void |
crypto_kdf_keygen(byte[] key) |
static byte[] |
crypto_kdf_primitive() |
static int |
crypto_kx_client_session_keys(byte[] rx,
byte[] tx,
byte[] client_pk,
byte[] client_sk,
byte[] server_pk) |
static int |
crypto_kx_keypair(byte[] pk,
byte[] sk) |
static int |
crypto_kx_seed_keypair(byte[] pk,
byte[] sk,
byte[] seed) |
static int |
crypto_kx_server_session_keys(byte[] rx,
byte[] tx,
byte[] server_pk,
byte[] server_sk,
byte[] client_pk) |
static int |
crypto_onetimeauth_bytes() |
static int |
crypto_onetimeauth_final(byte[] final_state,
byte[] dst_out) |
static int |
crypto_onetimeauth_init(byte[] dst_state,
byte[] src_key) |
static int |
crypto_onetimeauth_keybytes() |
static int |
crypto_onetimeauth_poly1305_bytes() |
static int |
crypto_onetimeauth_poly1305_final(byte[] state,
byte[] out) |
static int |
crypto_onetimeauth_poly1305_init(byte[] state,
byte[] key) |
static int |
crypto_onetimeauth_poly1305_keybytes() |
static int |
crypto_onetimeauth_poly1305_update(byte[] state,
byte[] in,
int inlen) |
static int |
crypto_onetimeauth_poly1305_verify(byte[] h,
byte[] in,
int inlen,
byte[] k) |
static int |
crypto_onetimeauth_poly1305(byte[] out,
byte[] in,
int inlen,
byte[] k) |
static byte[] |
crypto_onetimeauth_primitive() |
static int |
crypto_onetimeauth_statebytes() |
static int |
crypto_onetimeauth_update(byte[] dst_state,
byte[] src_input,
int input_len) |
static int |
crypto_onetimeauth_verify(byte[] src_mac,
byte[] src_input,
int input_len,
byte[] src_key) |
static int |
crypto_onetimeauth(byte[] dst_out,
byte[] src_input,
int input_len,
byte[] src_key) |
static int |
crypto_pwhash_alg_argon2i13() |
static int |
crypto_pwhash_alg_default() |
static int |
crypto_pwhash_bytes_max() |
static int |
crypto_pwhash_bytes_min() |
static int |
crypto_pwhash_memlimit_interactive() |
static int |
crypto_pwhash_memlimit_max() |
static int |
crypto_pwhash_memlimit_min() |
static int |
crypto_pwhash_memlimit_moderate() |
static int |
crypto_pwhash_memlimit_sensitive() |
static int |
crypto_pwhash_opslimit_interactive() |
static int |
crypto_pwhash_opslimit_max() |
static int |
crypto_pwhash_opslimit_min() |
static int |
crypto_pwhash_opslimit_moderate() |
static int |
crypto_pwhash_opslimit_sensitive() |
static int |
crypto_pwhash_passwd_max() |
static int |
crypto_pwhash_passwd_min() |
static byte[] |
crypto_pwhash_primitive() |
static int |
crypto_pwhash_saltbytes() |
static int |
crypto_pwhash_scryptsalsa208sha256_ll(byte[] passwd,
int passwdlen,
byte[] salt,
int saltlen,
int N,
int r,
int p,
byte[] buf,
int buflen) |
static int |
crypto_pwhash_scryptsalsa208sha256_memlimit_interactive() |
static int |
crypto_pwhash_scryptsalsa208sha256_memlimit_sensitive() |
static int |
crypto_pwhash_scryptsalsa208sha256_opslimit_interactive() |
static int |
crypto_pwhash_scryptsalsa208sha256_opslimit_sensitive() |
static int |
crypto_pwhash_scryptsalsa208sha256_saltbytes() |
static int |
crypto_pwhash_scryptsalsa208sha256_str_verify(byte[] str,
byte[] passwd,
int passwdlen) |
static int |
crypto_pwhash_scryptsalsa208sha256_str(byte[] out,
byte[] passwd,
int passwdlen,
int opslimit,
int memlimit) |
static int |
crypto_pwhash_scryptsalsa208sha256_strbytes() |
static byte[] |
crypto_pwhash_scryptsalsa208sha256_strprefix() |
static int |
crypto_pwhash_scryptsalsa208sha256(byte[] out,
int outlen,
byte[] passwd,
int passwdlen,
byte[] salt,
int opslimit,
int memlimit) |
static int |
crypto_pwhash_str_verify(byte[] str,
byte[] passwd,
int passwdlen) |
static int |
crypto_pwhash_str(byte[] out,
byte[] passwd,
int passwdlen,
int opslimit,
int memlimit) |
static int |
crypto_pwhash_strbytes() |
static byte[] |
crypto_pwhash_strprefix() |
static int |
crypto_pwhash(byte[] out,
int outlen,
byte[] passwd,
int passwdlen,
byte[] salt,
int opslimit,
int memlimit,
int alg) |
static int |
crypto_scalarmult_base(byte[] q,
byte[] n) |
static int |
crypto_scalarmult_bytes() |
static int |
crypto_scalarmult_curve25519_base(byte[] q,
byte[] n) |
static int |
crypto_scalarmult_curve25519_bytes() |
static int |
crypto_scalarmult_curve25519_scalarbytes() |
static int |
crypto_scalarmult_curve25519(byte[] q,
byte[] n,
byte[] p) |
static byte[] |
crypto_scalarmult_primitive() |
static int |
crypto_scalarmult_scalarbytes() |
static int |
crypto_scalarmult(byte[] q,
byte[] n,
byte[] p) |
static int |
crypto_secretbox_boxzerobytes() |
static int |
crypto_secretbox_detached(byte[] dst_cipher,
byte[] mac,
byte[] src_plain,
int plain_len,
byte[] nonce,
byte[] secretkey) |
static int |
crypto_secretbox_easy(byte[] dst_cipher,
byte[] src_plain,
int plain_len,
byte[] nonce,
byte[] secret_key) |
static int |
crypto_secretbox_keybytes() |
static int |
crypto_secretbox_macbytes() |
static int |
crypto_secretbox_noncebytes() |
static int |
crypto_secretbox_open_detached(byte[] dst_plain,
byte[] src_cipher,
byte[] mac,
int cipher_len,
byte[] nonce,
byte[] secretkey) |
static int |
crypto_secretbox_open_easy(byte[] dst_plain,
byte[] src_cipher,
int cipher_len,
byte[] nonce,
byte[] secret_key) |
static byte[] |
crypto_secretbox_primitive() |
static int |
crypto_secretbox_xsalsa20poly1305_boxzerobytes() |
static int |
crypto_secretbox_xsalsa20poly1305_keybytes() |
static int |
crypto_secretbox_xsalsa20poly1305_macbytes() |
static int |
crypto_secretbox_xsalsa20poly1305_noncebytes() |
static int |
crypto_secretbox_xsalsa20poly1305_open(byte[] m,
byte[] c,
int clen,
byte[] n,
byte[] k) |
static int |
crypto_secretbox_xsalsa20poly1305_zerobytes() |
static int |
crypto_secretbox_xsalsa20poly1305(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] k) |
static int |
crypto_secretbox_zerobytes() |
static int |
crypto_secretstream_xchacha20poly1305_abytes() |
static int |
crypto_secretstream_xchacha20poly1305_headerbytes() |
static int |
crypto_secretstream_xchacha20poly1305_init_pull(byte[] state,
byte[] header,
byte[] k) |
static int |
crypto_secretstream_xchacha20poly1305_init_push(byte[] state,
byte[] header,
byte[] k) |
static int |
crypto_secretstream_xchacha20poly1305_keybytes() |
static void |
crypto_secretstream_xchacha20poly1305_keygen(byte[] k) |
static int |
crypto_secretstream_xchacha20poly1305_messagebytes_max() |
static int |
crypto_secretstream_xchacha20poly1305_pull(byte[] state,
byte[] m,
int[] mlen_p,
byte[] tag_p,
byte[] c,
int clen,
byte[] ad,
int adlen) |
static int |
crypto_secretstream_xchacha20poly1305_push(byte[] state,
byte[] c,
int[] clen_p,
byte[] m,
int mlen,
byte[] ad,
int adlen,
short tag) |
static void |
crypto_secretstream_xchacha20poly1305_rekey(byte[] state) |
static int |
crypto_secretstream_xchacha20poly1305_statebytes() |
static int |
crypto_secretstream_xchacha20poly1305_tag_final() |
static int |
crypto_secretstream_xchacha20poly1305_tag_message() |
static int |
crypto_secretstream_xchacha20poly1305_tag_push() |
static int |
crypto_secretstream_xchacha20poly1305_tag_rekey() |
static int |
crypto_shorthash_bytes() |
static int |
crypto_shorthash_keybytes() |
static byte[] |
crypto_shorthash_primitive() |
static int |
crypto_shorthash_siphash24_bytes() |
static int |
crypto_shorthash_siphash24_keybytes() |
static int |
crypto_shorthash_siphash24(byte[] out,
byte[] in,
int inlen,
byte[] k) |
static int |
crypto_shorthash(byte[] dst_out,
byte[] src_input,
int input_len,
byte[] src_key) |
static int |
crypto_sign_bytes() |
static int |
crypto_sign_detached(byte[] dst_signature,
int[] signature_len,
byte[] src_msg,
int msg_len,
byte[] local_private_key) |
static int |
crypto_sign_ed25519_bytes() |
static int |
crypto_sign_ed25519_detached(byte[] sig,
int[] siglen_p,
byte[] m,
int mlen,
byte[] sk) |
static int |
crypto_sign_ed25519_keypair(byte[] pk,
byte[] sk) |
static int |
crypto_sign_ed25519_open(byte[] m,
int[] mlen_p,
byte[] sm,
int smlen,
byte[] pk) |
static int |
crypto_sign_ed25519_pk_to_curve25519(byte[] curve25519_pk,
byte[] ed25519_pk) |
static int |
crypto_sign_ed25519_publickeybytes() |
static int |
crypto_sign_ed25519_secretkeybytes() |
static int |
crypto_sign_ed25519_seed_keypair(byte[] pk,
byte[] sk,
byte[] seed) |
static int |
crypto_sign_ed25519_seedbytes() |
static int |
crypto_sign_ed25519_sk_to_curve25519(byte[] curve25519_sk,
byte[] ed25519_sk) |
static int |
crypto_sign_ed25519_sk_to_pk(byte[] dst_public_key,
byte[] src_private_key) |
static int |
crypto_sign_ed25519_sk_to_seed(byte[] dst_seed,
byte[] src_private_key) |
static int |
crypto_sign_ed25519_verify_detached(byte[] sig,
byte[] m,
int mlen,
byte[] pk) |
static int |
crypto_sign_ed25519(byte[] sm,
int[] smlen_p,
byte[] m,
int mlen,
byte[] sk) |
static int |
crypto_sign_keypair(byte[] dst_public_Key,
byte[] dst_private_key) |
static int |
crypto_sign_open(byte[] dst_msg,
int[] msg_len,
byte[] src_signed_msg,
int signed_msg_len,
byte[] remote_public_key) |
static byte[] |
crypto_sign_primitive() |
static int |
crypto_sign_publickeybytes() |
static int |
crypto_sign_secretkeybytes() |
static int |
crypto_sign_seed_keypair(byte[] dst_public_Key,
byte[] dst_private_key,
byte[] src_seed) |
static int |
crypto_sign_seedbytes() |
static int |
crypto_sign_verify_detached(byte[] src_signature,
byte[] src_msg,
int msg_len,
byte[] remote_public_key) |
static int |
crypto_sign(byte[] dst_signed_msg,
int[] signed_msg_len,
byte[] src_msg,
int msg_len,
byte[] local_private_key) |
static int |
crypto_stream_chacha20_ietf_noncebytes() |
static int |
crypto_stream_chacha20_ietf_xor_ic(byte[] c,
byte[] m,
int mlen,
byte[] n,
int ic,
byte[] k) |
static int |
crypto_stream_chacha20_ietf_xor(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] k) |
static int |
crypto_stream_chacha20_ietf(byte[] c,
int clen,
byte[] n,
byte[] k) |
static int |
crypto_stream_chacha20_keybytes() |
static int |
crypto_stream_chacha20_noncebytes() |
static int |
crypto_stream_chacha20_xor_ic(byte[] c,
byte[] m,
int mlen,
byte[] n,
int ic,
byte[] k) |
static int |
crypto_stream_chacha20_xor(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] k) |
static int |
crypto_stream_chacha20(byte[] c,
int clen,
byte[] n,
byte[] k) |
static int |
crypto_stream_salsa20_keybytes() |
static int |
crypto_stream_salsa20_noncebytes() |
static int |
crypto_stream_salsa20_xor_ic(byte[] c,
byte[] m,
int mlen,
byte[] n,
int ic,
byte[] k) |
static int |
crypto_stream_salsa20_xor(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] k) |
static int |
crypto_stream_salsa20(byte[] c,
int clen,
byte[] n,
byte[] k) |
static int |
crypto_stream_xsalsa20_keybytes() |
static int |
crypto_stream_xsalsa20_noncebytes() |
static int |
crypto_stream_xsalsa20_xor_ic(byte[] c,
byte[] m,
int mlen,
byte[] n,
int ic,
byte[] k) |
static int |
crypto_stream_xsalsa20_xor(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] k) |
static int |
crypto_stream_xsalsa20(byte[] c,
int clen,
byte[] n,
byte[] k) |
static void |
randombytes_buf(byte[] buff,
int buff_len) |
static int |
randombytes_close() |
static int |
randombytes_random() |
static void |
randombytes_stir() |
static int |
randombytes_uniform(int upper_bound) |
static void |
randombytes(byte[] dst_buf,
int buf_len) |
static void |
sodium_increment(byte[] src_dst_number,
int number_len) |
static int |
sodium_init() |
static byte[] |
sodium_version_string() |
public static int sodium_init()
public static byte[] sodium_version_string()
public static void randombytes(byte[] dst_buf,
int buf_len)
public static int randombytes_random()
public static int randombytes_uniform(int upper_bound)
public static void randombytes_buf(byte[] buff,
int buff_len)
public static int randombytes_close()
public static void randombytes_stir()
public static void sodium_increment(byte[] src_dst_number,
int number_len)
public static int crypto_secretbox_keybytes()
public static int crypto_secretbox_noncebytes()
public static int crypto_secretbox_macbytes()
public static int crypto_secretbox_zerobytes()
public static int crypto_secretbox_boxzerobytes()
public static byte[] crypto_secretbox_primitive()
public static int crypto_secretbox_easy(byte[] dst_cipher,
byte[] src_plain,
int plain_len,
byte[] nonce,
byte[] secret_key)
public static int crypto_secretbox_open_easy(byte[] dst_plain,
byte[] src_cipher,
int cipher_len,
byte[] nonce,
byte[] secret_key)
public static int crypto_secretbox_detached(byte[] dst_cipher,
byte[] mac,
byte[] src_plain,
int plain_len,
byte[] nonce,
byte[] secretkey)
public static int crypto_secretbox_open_detached(byte[] dst_plain,
byte[] src_cipher,
byte[] mac,
int cipher_len,
byte[] nonce,
byte[] secretkey)
public static int crypto_scalarmult_bytes()
public static int crypto_scalarmult_scalarbytes()
public static byte[] crypto_scalarmult_primitive()
public static int crypto_scalarmult_base(byte[] q,
byte[] n)
public static int crypto_scalarmult(byte[] q,
byte[] n,
byte[] p)
public static int crypto_box_seedbytes()
public static int crypto_box_publickeybytes()
public static int crypto_box_secretkeybytes()
public static int crypto_box_noncebytes()
public static int crypto_box_macbytes()
public static byte[] crypto_box_primitive()
public static int crypto_box_keypair(byte[] dst_public_Key,
byte[] dst_private_key)
public static int crypto_box_seed_keypair(byte[] dst_public_key,
byte[] dst_private_key,
byte[] src_seed)
public static int crypto_box_easy(byte[] dst_cipher,
byte[] src_plain,
int plain_len,
byte[] nonce,
byte[] remote_public_key,
byte[] local_private_key)
public static int crypto_box_open_easy(byte[] dst_plain,
byte[] src_cipher,
int cipher_len,
byte[] nonce,
byte[] remote_public_key,
byte[] local_private_key)
public static int crypto_box_detached(byte[] dst_cipher,
byte[] dst_mac,
byte[] src_plain,
int plain_len,
byte[] nonces,
byte[] remote_public_key,
byte[] local_private_key)
public static int crypto_box_open_detached(byte[] dst_plain,
byte[] src_cipher,
byte[] src_mac,
int cipher_len,
byte[] nonce,
byte[] remote_public_key,
byte[] local_private_key)
public static int crypto_box_beforenmbytes()
public static int crypto_box_beforenm(byte[] dst_shared_key,
byte[] remote_public_key,
byte[] local_private_key)
public static int crypto_box_easy_afternm(byte[] dst_cipher,
byte[] src_plain,
int plain_len,
byte[] nonce,
byte[] shared_key)
public static int crypto_box_open_easy_afternm(byte[] dst_plain,
byte[] src_cipher,
int cipher_len,
byte[] nonce,
byte[] shared_key)
public static int crypto_box_detached_afternm(byte[] dst_cipher,
byte[] dst_mac,
byte[] src_plain,
int plain_len,
byte[] nonce,
byte[] shared_key)
public static int crypto_box_open_detached_afternm(byte[] dst_plain,
byte[] src_cipher,
byte[] src_mac,
int cipher_len,
byte[] nonce,
byte[] shared_key)
public static int crypto_box_sealbytes()
public static int crypto_box_seal(byte[] dst_cipher,
byte[] src_plain,
int plain_len,
byte[] remote_public_key)
public static int crypto_box_seal_open(byte[] dst_plain,
byte[] src_cipher,
int cipher_len,
byte[] local_public_key,
byte[] local_private_key)
public static int crypto_box_zerobytes()
public static int crypto_box_boxzerobytes()
public static int crypto_box(byte[] dst_cipher,
byte[] src_msg,
int msg_len,
byte[] src_nonce,
byte[] src_pub,
byte[] src_secret)
public static int crypto_box_open(byte[] dst_msg,
byte[] src_cipher,
int cipher_len,
byte[] src_nonce,
byte[] src_pub,
byte[] src_secret)
public static int crypto_box_afternm(byte[] dst_cipher,
byte[] src_msg,
int msg_len,
byte[] src_nonce,
byte[] src_key)
public static int crypto_box_open_afternm(byte[] dst_msg,
byte[] src_cipher,
int cipher_len,
byte[] src_nonce,
byte[] src_key)
public static int crypto_sign_bytes()
public static int crypto_sign_seedbytes()
public static int crypto_sign_publickeybytes()
public static int crypto_sign_secretkeybytes()
public static byte[] crypto_sign_primitive()
public static int crypto_sign_keypair(byte[] dst_public_Key,
byte[] dst_private_key)
public static int crypto_sign_seed_keypair(byte[] dst_public_Key,
byte[] dst_private_key,
byte[] src_seed)
public static int crypto_sign(byte[] dst_signed_msg,
int[] signed_msg_len,
byte[] src_msg,
int msg_len,
byte[] local_private_key)
public static int crypto_sign_open(byte[] dst_msg,
int[] msg_len,
byte[] src_signed_msg,
int signed_msg_len,
byte[] remote_public_key)
public static int crypto_sign_detached(byte[] dst_signature,
int[] signature_len,
byte[] src_msg,
int msg_len,
byte[] local_private_key)
public static int crypto_sign_verify_detached(byte[] src_signature,
byte[] src_msg,
int msg_len,
byte[] remote_public_key)
public static int crypto_sign_ed25519_sk_to_seed(byte[] dst_seed,
byte[] src_private_key)
public static int crypto_sign_ed25519_sk_to_pk(byte[] dst_public_key,
byte[] src_private_key)
public static int crypto_generichash_bytes()
public static int crypto_generichash_bytes_min()
public static int crypto_generichash_bytes_max()
public static int crypto_generichash_keybytes()
public static int crypto_generichash_keybytes_min()
public static int crypto_generichash_keybytes_max()
public static byte[] crypto_generichash_primitive()
public static int crypto_generichash(byte[] dst_hash,
int dst_len,
byte[] src_input,
int input_len,
byte[] src_key,
int key_len)
public static int crypto_generichash_statebytes()
public static int crypto_generichash_init(byte[] state,
byte[] src_key,
int key_len,
int out_len)
public static int crypto_generichash_update(byte[] state,
byte[] src_input,
int input_len)
public static int crypto_generichash_final(byte[] state,
byte[] dst_out,
int out_len)
public static int crypto_shorthash_bytes()
public static int crypto_shorthash_keybytes()
public static byte[] crypto_shorthash_primitive()
public static int crypto_shorthash(byte[] dst_out,
byte[] src_input,
int input_len,
byte[] src_key)
public static int crypto_auth_bytes()
public static int crypto_auth_keybytes()
public static byte[] crypto_auth_primitive()
public static int crypto_auth(byte[] dst_mac,
byte[] src_input,
int input_len,
byte[] src_key)
public static int crypto_auth_verify(byte[] src_mac,
byte[] src_input,
int input_len,
byte[] src_key)
public static int crypto_onetimeauth_bytes()
public static int crypto_onetimeauth_keybytes()
public static byte[] crypto_onetimeauth_primitive()
public static int crypto_onetimeauth(byte[] dst_out,
byte[] src_input,
int input_len,
byte[] src_key)
public static int crypto_onetimeauth_verify(byte[] src_mac,
byte[] src_input,
int input_len,
byte[] src_key)
public static int crypto_onetimeauth_statebytes()
public static int crypto_onetimeauth_init(byte[] dst_state,
byte[] src_key)
public static int crypto_onetimeauth_update(byte[] dst_state,
byte[] src_input,
int input_len)
public static int crypto_onetimeauth_final(byte[] final_state,
byte[] dst_out)
public static int crypto_kx_keypair(byte[] pk,
byte[] sk)
public static int crypto_kx_seed_keypair(byte[] pk,
byte[] sk,
byte[] seed)
public static int crypto_kx_client_session_keys(byte[] rx,
byte[] tx,
byte[] client_pk,
byte[] client_sk,
byte[] server_pk)
public static int crypto_kx_server_session_keys(byte[] rx,
byte[] tx,
byte[] server_pk,
byte[] server_sk,
byte[] client_pk)
public static int crypto_kdf_bytes_min()
public static int crypto_kdf_bytes_max()
public static int crypto_kdf_keybytes()
public static int crypto_kdf_contextbytes()
public static byte[] crypto_kdf_primitive()
public static int crypto_kdf_derive_from_key(byte[] subkey,
int subkey_len,
int subkey_id,
byte[] ctx,
byte[] key)
public static void crypto_kdf_keygen(byte[] key)
public static int crypto_aead_chacha20poly1305_keybytes()
public static int crypto_aead_chacha20poly1305_nsecbytes()
public static int crypto_aead_chacha20poly1305_npubbytes()
public static int crypto_aead_chacha20poly1305_abytes()
public static int crypto_aead_chacha20poly1305_messagebytes_max()
public static void crypto_aead_chacha20poly1305_keygen(byte[] k)
public static int crypto_aead_chacha20poly1305_encrypt(byte[] c,
int[] clen_p,
byte[] m,
int mlen,
byte[] ad,
int adlen,
byte[] nsec,
byte[] npub,
byte[] k)
public static int crypto_aead_chacha20poly1305_encrypt_detached(byte[] c,
byte[] mac,
int[] maclen_p,
byte[] m,
int mlen,
byte[] ad,
int adlen,
byte[] nsec,
byte[] npub,
byte[] k)
public static int crypto_aead_chacha20poly1305_decrypt(byte[] m,
int[] mlen_p,
byte[] nsec,
byte[] c,
int clen,
byte[] ad,
int adlen,
byte[] npub,
byte[] k)
public static int crypto_aead_chacha20poly1305_decrypt_detached(byte[] m,
byte[] nsec,
byte[] c,
int clen,
byte[] mac,
byte[] ad,
int adlen,
byte[] npub,
byte[] k)
public static int crypto_aead_chacha20poly1305_ietf_keybytes()
public static int crypto_aead_chacha20poly1305_ietf_nsecbytes()
public static int crypto_aead_chacha20poly1305_ietf_abytes()
public static int crypto_aead_chacha20poly1305_ietf_messagebytes_max()
public static int crypto_aead_chacha20poly1305_ietf_npubbytes()
public static void crypto_aead_chacha20poly1305_ietf_keygen(byte[] k)
public static int crypto_aead_chacha20poly1305_ietf_encrypt(byte[] c,
int[] clen_p,
byte[] m,
int mlen,
byte[] ad,
int adlen,
byte[] nsec,
byte[] npub,
byte[] k)
public static int crypto_aead_chacha20poly1305_ietf_encrypt_detached(byte[] c,
byte[] mac,
int[] maclen_p,
byte[] m,
int mlen,
byte[] ad,
int adlen,
byte[] nsec,
byte[] npub,
byte[] k)
public static int crypto_aead_chacha20poly1305_ietf_decrypt(byte[] m,
int[] mlen_p,
byte[] nsec,
byte[] c,
int clen,
byte[] ad,
int adlen,
byte[] npub,
byte[] k)
public static int crypto_aead_chacha20poly1305_ietf_decrypt_detached(byte[] m,
byte[] nsec,
byte[] c,
int clen,
byte[] mac,
byte[] ad,
int adlen,
byte[] npub,
byte[] k)
public static int crypto_aead_xchacha20poly1305_ietf_keybytes()
public static int crypto_aead_xchacha20poly1305_ietf_npubbytes()
public static int crypto_aead_xchacha20poly1305_ietf_nsecbytes()
public static int crypto_aead_xchacha20poly1305_ietf_abytes()
public static int crypto_aead_xchacha20poly1305_ietf_messagebytes_max()
public static void crypto_aead_xchacha20poly1305_ietf_keygen(byte[] k)
public static int crypto_aead_xchacha20poly1305_ietf_encrypt_detached(byte[] c,
byte[] mac,
int[] maclen_p,
byte[] m,
int mlen,
byte[] ad,
int adlen,
byte[] nsec,
byte[] npub,
byte[] k)
public static int crypto_aead_xchacha20poly1305_ietf_encrypt(byte[] c,
int[] clen_p,
byte[] m,
int mlen,
byte[] ad,
int adlen,
byte[] nsec,
byte[] npub,
byte[] k)
public static int crypto_aead_xchacha20poly1305_ietf_decrypt_detached(byte[] m,
byte[] nsec,
byte[] c,
int clen,
byte[] mac,
byte[] ad,
int adlen,
byte[] npub,
byte[] k)
public static int crypto_aead_xchacha20poly1305_ietf_decrypt(byte[] m,
int[] mlen_p,
byte[] nsec,
byte[] c,
int clen,
byte[] ad,
int adlen,
byte[] npub,
byte[] k)
public static int crypto_auth_hmacsha256_bytes()
public static int crypto_auth_hmacsha256_keybytes()
public static int crypto_auth_hmacsha256(byte[] out,
byte[] in,
int inlen,
byte[] k)
public static int crypto_auth_hmacsha256_verify(byte[] h,
byte[] in,
int inlen,
byte[] k)
public static int crypto_auth_hmacsha256_statebytes()
public static int crypto_auth_hmacsha256_init(byte[] state,
byte[] key,
int keylen)
public static int crypto_auth_hmacsha256_update(byte[] state,
byte[] in,
int inlen)
public static int crypto_auth_hmacsha256_final(byte[] state,
byte[] out)
public static int crypto_auth_hmacsha512_bytes()
public static int crypto_auth_hmacsha512_keybytes()
public static int crypto_auth_hmacsha512(byte[] out,
byte[] in,
int inlen,
byte[] k)
public static int crypto_auth_hmacsha512_verify(byte[] h,
byte[] in,
int inlen,
byte[] k)
public static int crypto_auth_hmacsha512_statebytes()
public static int crypto_auth_hmacsha512_init(byte[] state,
byte[] key,
int keylen)
public static int crypto_auth_hmacsha512_update(byte[] state,
byte[] in,
int inlen)
public static int crypto_auth_hmacsha512_final(byte[] state,
byte[] out)
public static int crypto_auth_hmacsha512256_bytes()
public static int crypto_auth_hmacsha512256_keybytes()
public static int crypto_auth_hmacsha512256(byte[] out,
byte[] in,
int inlen,
byte[] k)
public static int crypto_auth_hmacsha512256_verify(byte[] h,
byte[] in,
int inlen,
byte[] k)
public static int crypto_auth_hmacsha512256_statebytes()
public static int crypto_auth_hmacsha512256_init(byte[] state,
byte[] key,
int keylen)
public static int crypto_auth_hmacsha512256_update(byte[] state,
byte[] in,
int inlen)
public static int crypto_auth_hmacsha512256_final(byte[] state,
byte[] out)
public static int crypto_box_curve25519xsalsa20poly1305_seedbytes()
public static int crypto_box_curve25519xsalsa20poly1305_publickeybytes()
public static int crypto_box_curve25519xsalsa20poly1305_secretkeybytes()
public static int crypto_box_curve25519xsalsa20poly1305_beforenmbytes()
public static int crypto_box_curve25519xsalsa20poly1305_noncebytes()
public static int crypto_box_curve25519xsalsa20poly1305_zerobytes()
public static int crypto_box_curve25519xsalsa20poly1305_boxzerobytes()
public static int crypto_box_curve25519xsalsa20poly1305_macbytes()
public static int crypto_box_curve25519xsalsa20poly1305(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] pk,
byte[] sk)
public static int crypto_box_curve25519xsalsa20poly1305_open(byte[] m,
byte[] c,
int clen,
byte[] n,
byte[] pk,
byte[] sk)
public static int crypto_box_curve25519xsalsa20poly1305_seed_keypair(byte[] pk,
byte[] sk,
byte[] seed)
public static int crypto_box_curve25519xsalsa20poly1305_keypair(byte[] pk,
byte[] sk)
public static int crypto_box_curve25519xsalsa20poly1305_beforenm(byte[] k,
byte[] pk,
byte[] sk)
public static int crypto_box_curve25519xsalsa20poly1305_afternm(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] k)
public static int crypto_box_curve25519xsalsa20poly1305_open_afternm(byte[] m,
byte[] c,
int clen,
byte[] n,
byte[] k)
public static int crypto_core_hsalsa20_outputbytes()
public static int crypto_core_hsalsa20_inputbytes()
public static int crypto_core_hsalsa20_keybytes()
public static int crypto_core_hsalsa20_constbytes()
public static int crypto_core_hsalsa20(byte[] out,
byte[] in,
byte[] k,
byte[] c)
public static int crypto_core_salsa20_outputbytes()
public static int crypto_core_salsa20_inputbytes()
public static int crypto_core_salsa20_keybytes()
public static int crypto_core_salsa20_constbytes()
public static int crypto_core_salsa20(byte[] out,
byte[] in,
byte[] k,
byte[] c)
public static int crypto_generichash_blake2b_bytes_min()
public static int crypto_generichash_blake2b_bytes_max()
public static int crypto_generichash_blake2b_bytes()
public static int crypto_generichash_blake2b_keybytes_min()
public static int crypto_generichash_blake2b_keybytes_max()
public static int crypto_generichash_blake2b_keybytes()
public static int crypto_generichash_blake2b_saltbytes()
public static int crypto_generichash_blake2b_personalbytes()
public static int crypto_generichash_blake2b(byte[] out,
int outlen,
byte[] in,
int inlen,
byte[] key,
int keylen)
public static int crypto_generichash_blake2b_salt_personal(byte[] out,
int outlen,
byte[] in,
int inlen,
byte[] key,
int keylen,
byte[] salt,
byte[] personal)
public static int crypto_generichash_blake2b_init(byte[] state,
byte[] key,
int keylen,
int outlen)
public static int crypto_generichash_blake2b_init_salt_personal(byte[] state,
byte[] key,
int keylen,
int outlen,
byte[] salt,
byte[] personal)
public static int crypto_generichash_blake2b_update(byte[] state,
byte[] in,
int inlen)
public static int crypto_generichash_blake2b_final(byte[] state,
byte[] out,
int outlen)
public static int crypto_hash_sha256_bytes()
public static int crypto_hash_sha256(byte[] out,
byte[] in,
int inlen)
public static int crypto_hash_sha256_statebytes()
public static int crypto_hash_sha256_init(byte[] state)
public static int crypto_hash_sha256_update(byte[] state,
byte[] in,
int inlen)
public static int crypto_hash_sha256_final(byte[] state,
byte[] out)
public static int crypto_hash_sha512_bytes()
public static int crypto_hash_sha512(byte[] out,
byte[] in,
int inlen)
public static int crypto_hash_sha512_statebytes()
public static int crypto_hash_sha512_init(byte[] state)
public static int crypto_hash_sha512_update(byte[] state,
byte[] in,
int inlen)
public static int crypto_hash_sha512_final(byte[] state,
byte[] out)
public static int crypto_onetimeauth_poly1305_bytes()
public static int crypto_onetimeauth_poly1305_keybytes()
public static int crypto_onetimeauth_poly1305(byte[] out,
byte[] in,
int inlen,
byte[] k)
public static int crypto_onetimeauth_poly1305_verify(byte[] h,
byte[] in,
int inlen,
byte[] k)
public static int crypto_onetimeauth_poly1305_init(byte[] state,
byte[] key)
public static int crypto_onetimeauth_poly1305_update(byte[] state,
byte[] in,
int inlen)
public static int crypto_onetimeauth_poly1305_final(byte[] state,
byte[] out)
public static int crypto_pwhash_alg_argon2i13()
public static int crypto_pwhash_alg_default()
public static int crypto_pwhash_bytes_min()
public static int crypto_pwhash_bytes_max()
public static int crypto_pwhash_passwd_min()
public static int crypto_pwhash_passwd_max()
public static int crypto_pwhash_saltbytes()
public static int crypto_pwhash_strbytes()
public static byte[] crypto_pwhash_strprefix()
public static int crypto_pwhash_opslimit_min()
public static int crypto_pwhash_opslimit_max()
public static int crypto_pwhash_memlimit_min()
public static int crypto_pwhash_memlimit_max()
public static int crypto_pwhash_opslimit_interactive()
public static int crypto_pwhash_memlimit_interactive()
public static int crypto_pwhash_opslimit_moderate()
public static int crypto_pwhash_memlimit_moderate()
public static int crypto_pwhash_opslimit_sensitive()
public static int crypto_pwhash_memlimit_sensitive()
public static int crypto_pwhash(byte[] out,
int outlen,
byte[] passwd,
int passwdlen,
byte[] salt,
int opslimit,
int memlimit,
int alg)
public static int crypto_pwhash_str(byte[] out,
byte[] passwd,
int passwdlen,
int opslimit,
int memlimit)
public static int crypto_pwhash_str_verify(byte[] str,
byte[] passwd,
int passwdlen)
public static byte[] crypto_pwhash_primitive()
public static int crypto_pwhash_scryptsalsa208sha256_saltbytes()
public static int crypto_pwhash_scryptsalsa208sha256_strbytes()
public static byte[] crypto_pwhash_scryptsalsa208sha256_strprefix()
public static int crypto_pwhash_scryptsalsa208sha256_opslimit_interactive()
public static int crypto_pwhash_scryptsalsa208sha256_memlimit_interactive()
public static int crypto_pwhash_scryptsalsa208sha256_opslimit_sensitive()
public static int crypto_pwhash_scryptsalsa208sha256_memlimit_sensitive()
public static int crypto_pwhash_scryptsalsa208sha256(byte[] out,
int outlen,
byte[] passwd,
int passwdlen,
byte[] salt,
int opslimit,
int memlimit)
public static int crypto_pwhash_scryptsalsa208sha256_str(byte[] out,
byte[] passwd,
int passwdlen,
int opslimit,
int memlimit)
public static int crypto_pwhash_scryptsalsa208sha256_str_verify(byte[] str,
byte[] passwd,
int passwdlen)
public static int crypto_pwhash_scryptsalsa208sha256_ll(byte[] passwd,
int passwdlen,
byte[] salt,
int saltlen,
int N,
int r,
int p,
byte[] buf,
int buflen)
public static int crypto_scalarmult_curve25519_bytes()
public static int crypto_scalarmult_curve25519_scalarbytes()
public static int crypto_scalarmult_curve25519(byte[] q,
byte[] n,
byte[] p)
public static int crypto_scalarmult_curve25519_base(byte[] q,
byte[] n)
public static int crypto_secretbox_xsalsa20poly1305_keybytes()
public static int crypto_secretbox_xsalsa20poly1305_noncebytes()
public static int crypto_secretbox_xsalsa20poly1305_zerobytes()
public static int crypto_secretbox_xsalsa20poly1305_boxzerobytes()
public static int crypto_secretbox_xsalsa20poly1305_macbytes()
public static int crypto_secretbox_xsalsa20poly1305(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] k)
public static int crypto_secretbox_xsalsa20poly1305_open(byte[] m,
byte[] c,
int clen,
byte[] n,
byte[] k)
public static int crypto_shorthash_siphash24_bytes()
public static int crypto_shorthash_siphash24_keybytes()
public static int crypto_shorthash_siphash24(byte[] out,
byte[] in,
int inlen,
byte[] k)
public static int crypto_sign_ed25519_bytes()
public static int crypto_sign_ed25519_seedbytes()
public static int crypto_sign_ed25519_publickeybytes()
public static int crypto_sign_ed25519_secretkeybytes()
public static int crypto_sign_ed25519(byte[] sm,
int[] smlen_p,
byte[] m,
int mlen,
byte[] sk)
public static int crypto_sign_ed25519_open(byte[] m,
int[] mlen_p,
byte[] sm,
int smlen,
byte[] pk)
public static int crypto_stream_xsalsa20(byte[] c,
int clen,
byte[] n,
byte[] k)
public static int crypto_sign_ed25519_detached(byte[] sig,
int[] siglen_p,
byte[] m,
int mlen,
byte[] sk)
public static int crypto_sign_ed25519_verify_detached(byte[] sig,
byte[] m,
int mlen,
byte[] pk)
public static int crypto_sign_ed25519_keypair(byte[] pk,
byte[] sk)
public static int crypto_sign_ed25519_seed_keypair(byte[] pk,
byte[] sk,
byte[] seed)
public static int crypto_sign_ed25519_pk_to_curve25519(byte[] curve25519_pk,
byte[] ed25519_pk)
public static int crypto_sign_ed25519_sk_to_curve25519(byte[] curve25519_sk,
byte[] ed25519_sk)
public static int crypto_stream_chacha20_keybytes()
public static int crypto_stream_chacha20_noncebytes()
public static int crypto_stream_chacha20(byte[] c,
int clen,
byte[] n,
byte[] k)
public static int crypto_stream_chacha20_xor(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] k)
public static int crypto_stream_chacha20_xor_ic(byte[] c,
byte[] m,
int mlen,
byte[] n,
int ic,
byte[] k)
public static int crypto_stream_chacha20_ietf_noncebytes()
public static int crypto_stream_chacha20_ietf(byte[] c,
int clen,
byte[] n,
byte[] k)
public static int crypto_stream_chacha20_ietf_xor(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] k)
public static int crypto_stream_chacha20_ietf_xor_ic(byte[] c,
byte[] m,
int mlen,
byte[] n,
int ic,
byte[] k)
public static int crypto_stream_salsa20_keybytes()
public static int crypto_stream_salsa20_noncebytes()
public static int crypto_stream_salsa20(byte[] c,
int clen,
byte[] n,
byte[] k)
public static int crypto_stream_salsa20_xor(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] k)
public static int crypto_stream_salsa20_xor_ic(byte[] c,
byte[] m,
int mlen,
byte[] n,
int ic,
byte[] k)
public static int crypto_stream_xsalsa20_keybytes()
public static int crypto_stream_xsalsa20_noncebytes()
public static int crypto_stream_xsalsa20_xor(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] k)
public static int crypto_stream_xsalsa20_xor_ic(byte[] c,
byte[] m,
int mlen,
byte[] n,
int ic,
byte[] k)
public static int crypto_secretstream_xchacha20poly1305_keybytes()
public static int crypto_secretstream_xchacha20poly1305_headerbytes()
public static int crypto_secretstream_xchacha20poly1305_abytes()
public static int crypto_secretstream_xchacha20poly1305_statebytes()
public static int crypto_secretstream_xchacha20poly1305_tag_message()
public static int crypto_secretstream_xchacha20poly1305_tag_push()
public static int crypto_secretstream_xchacha20poly1305_tag_rekey()
public static int crypto_secretstream_xchacha20poly1305_tag_final()
public static int crypto_secretstream_xchacha20poly1305_messagebytes_max()
public static void crypto_secretstream_xchacha20poly1305_keygen(byte[] k)
public static int crypto_secretstream_xchacha20poly1305_init_push(byte[] state,
byte[] header,
byte[] k)
public static int crypto_secretstream_xchacha20poly1305_push(byte[] state,
byte[] c,
int[] clen_p,
byte[] m,
int mlen,
byte[] ad,
int adlen,
short tag)
public static int crypto_secretstream_xchacha20poly1305_init_pull(byte[] state,
byte[] header,
byte[] k)
public static int crypto_secretstream_xchacha20poly1305_pull(byte[] state,
byte[] m,
int[] mlen_p,
byte[] tag_p,
byte[] c,
int clen,
byte[] ad,
int adlen)
public static void crypto_secretstream_xchacha20poly1305_rekey(byte[] state)
public static int crypto_box_curve25519xchacha20poly1305_seedbytes()
public static int crypto_box_curve25519xchacha20poly1305_publickeybytes()
public static int crypto_box_curve25519xchacha20poly1305_secretkeybytes()
public static int crypto_box_curve25519xchacha20poly1305_beforenmbytes()
public static int crypto_box_curve25519xchacha20poly1305_noncebytes()
public static int crypto_box_curve25519xchacha20poly1305_macbytes()
public static int crypto_box_curve25519xchacha20poly1305_messagebytes_max()
public static int crypto_box_curve25519xchacha20poly1305_sealbytes()
public static int crypto_box_curve25519xchacha20poly1305_seed_keypair(byte[] pk,
byte[] sk,
byte[] seed)
public static int crypto_box_curve25519xchacha20poly1305_keypair(byte[] pk,
byte[] sk)
public static int crypto_box_curve25519xchacha20poly1305_beforenm(byte[] k,
byte[] pk,
byte[] sk)
public static int crypto_box_curve25519xchacha20poly1305_detached_afternm(byte[] c,
byte[] mac,
byte[] m,
int mlen,
byte[] n,
byte[] k)
public static int crypto_box_curve25519xchacha20poly1305_detached(byte[] c,
byte[] mac,
byte[] m,
int mlen,
byte[] n,
byte[] pk,
byte[] sk)
public static int crypto_box_curve25519xchacha20poly1305_easy_afternm(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] k)
public static int crypto_box_curve25519xchacha20poly1305_easy(byte[] c,
byte[] m,
int mlen,
byte[] n,
byte[] pk,
byte[] sk)
public static int crypto_box_curve25519xchacha20poly1305_open_detached_afternm(byte[] m,
byte[] c,
byte[] mac,
int clen,
byte[] n,
byte[] k)
public static int crypto_box_curve25519xchacha20poly1305_open_detached(byte[] m,
byte[] c,
byte[] mac,
int clen,
byte[] n,
byte[] pk,
byte[] sk)
public static int crypto_box_curve25519xchacha20poly1305_open_easy_afternm(byte[] m,
byte[] c,
int clen,
byte[] n,
byte[] k)
public static int crypto_box_curve25519xchacha20poly1305_open_easy(byte[] m,
byte[] c,
int clen,
byte[] n,
byte[] pk,
byte[] sk)
public static int crypto_box_curve25519xchacha20poly1305_seal(byte[] c,
byte[] m,
int mlen,
byte[] pk)
public static int crypto_box_curve25519xchacha20poly1305_seal_open(byte[] m,
byte[] c,
int clen,
byte[] pk,
byte[] sk)