LazysodiumBinding class

Bindings to libsodium.

Implementers
Available extensions

Constructors

LazysodiumBinding(DynamicLibrary dynamicLibrary)
The symbols are looked up in dynamicLibrary.
LazysodiumBinding.fromLookup(Pointer<T> lookup<T extends NativeType>(String symbolName))
The symbols are looked up with lookup.

Properties

hashCode int
The hash code for this object.
no setterinherited
randombytes_internal_implementation randombytes_implementation
no setter
randombytes_sysrandom_implementation randombytes_implementation
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

crypto_aead_aes256gcm_abytes() int
crypto_aead_aes256gcm_beforenm(Pointer<crypto_aead_aes256gcm_state> ctx_, Pointer<UnsignedChar> k) int
crypto_aead_aes256gcm_decrypt(Pointer<UnsignedChar> m, Pointer<UnsignedLongLong> mlen_p, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> npub, Pointer<UnsignedChar> k) int
crypto_aead_aes256gcm_decrypt_afternm(Pointer<UnsignedChar> m, Pointer<UnsignedLongLong> mlen_p, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> npub, Pointer<crypto_aead_aes256gcm_state> ctx_) int
crypto_aead_aes256gcm_decrypt_detached(Pointer<UnsignedChar> m, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> mac, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> npub, Pointer<UnsignedChar> k) int
crypto_aead_aes256gcm_decrypt_detached_afternm(Pointer<UnsignedChar> m, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> mac, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> npub, Pointer<crypto_aead_aes256gcm_state> ctx_) int
crypto_aead_aes256gcm_encrypt(Pointer<UnsignedChar> c, Pointer<UnsignedLongLong> clen_p, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> npub, Pointer<UnsignedChar> k) int
crypto_aead_aes256gcm_encrypt_afternm(Pointer<UnsignedChar> c, Pointer<UnsignedLongLong> clen_p, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> npub, Pointer<crypto_aead_aes256gcm_state> ctx_) int
crypto_aead_aes256gcm_encrypt_detached(Pointer<UnsignedChar> c, Pointer<UnsignedChar> mac, Pointer<UnsignedLongLong> maclen_p, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> npub, Pointer<UnsignedChar> k) int
crypto_aead_aes256gcm_encrypt_detached_afternm(Pointer<UnsignedChar> c, Pointer<UnsignedChar> mac, Pointer<UnsignedLongLong> maclen_p, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> npub, Pointer<crypto_aead_aes256gcm_state> ctx_) int
crypto_aead_aes256gcm_is_available() int
crypto_aead_aes256gcm_keybytes() int
crypto_aead_aes256gcm_keygen(Pointer<UnsignedChar> k) → void
crypto_aead_aes256gcm_messagebytes_max() int
crypto_aead_aes256gcm_npubbytes() int
crypto_aead_aes256gcm_nsecbytes() int
crypto_aead_aes256gcm_statebytes() int
crypto_aead_chacha20poly1305_abytes() int
crypto_aead_chacha20poly1305_decrypt(Pointer<UnsignedChar> m, Pointer<UnsignedLongLong> mlen_p, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> npub, Pointer<UnsignedChar> k) int
crypto_aead_chacha20poly1305_decrypt_detached(Pointer<UnsignedChar> m, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> mac, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> npub, Pointer<UnsignedChar> k) int
crypto_aead_chacha20poly1305_encrypt(Pointer<UnsignedChar> c, Pointer<UnsignedLongLong> clen_p, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> npub, Pointer<UnsignedChar> k) int
crypto_aead_chacha20poly1305_encrypt_detached(Pointer<UnsignedChar> c, Pointer<UnsignedChar> mac, Pointer<UnsignedLongLong> maclen_p, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> npub, Pointer<UnsignedChar> k) int
crypto_aead_chacha20poly1305_ietf_abytes() int
crypto_aead_chacha20poly1305_ietf_decrypt(Pointer<UnsignedChar> m, Pointer<UnsignedLongLong> mlen_p, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> npub, Pointer<UnsignedChar> k) int
crypto_aead_chacha20poly1305_ietf_decrypt_detached(Pointer<UnsignedChar> m, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> mac, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> npub, Pointer<UnsignedChar> k) int
crypto_aead_chacha20poly1305_ietf_encrypt(Pointer<UnsignedChar> c, Pointer<UnsignedLongLong> clen_p, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> npub, Pointer<UnsignedChar> k) int
crypto_aead_chacha20poly1305_ietf_encrypt_detached(Pointer<UnsignedChar> c, Pointer<UnsignedChar> mac, Pointer<UnsignedLongLong> maclen_p, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> npub, Pointer<UnsignedChar> k) int
crypto_aead_chacha20poly1305_ietf_keybytes() int
crypto_aead_chacha20poly1305_ietf_keygen(Pointer<UnsignedChar> k) → void
crypto_aead_chacha20poly1305_ietf_messagebytes_max() int
crypto_aead_chacha20poly1305_ietf_npubbytes() int
crypto_aead_chacha20poly1305_ietf_nsecbytes() int
crypto_aead_chacha20poly1305_keybytes() int
crypto_aead_chacha20poly1305_keygen(Pointer<UnsignedChar> k) → void
crypto_aead_chacha20poly1305_messagebytes_max() int
crypto_aead_chacha20poly1305_npubbytes() int
crypto_aead_chacha20poly1305_nsecbytes() int
crypto_aead_xchacha20poly1305_ietf_abytes() int
crypto_aead_xchacha20poly1305_ietf_decrypt(Pointer<UnsignedChar> m, Pointer<UnsignedLongLong> mlen_p, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> npub, Pointer<UnsignedChar> k) int
crypto_aead_xchacha20poly1305_ietf_decrypt_detached(Pointer<UnsignedChar> m, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> mac, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> npub, Pointer<UnsignedChar> k) int
crypto_aead_xchacha20poly1305_ietf_encrypt(Pointer<UnsignedChar> c, Pointer<UnsignedLongLong> clen_p, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> npub, Pointer<UnsignedChar> k) int
crypto_aead_xchacha20poly1305_ietf_encrypt_detached(Pointer<UnsignedChar> c, Pointer<UnsignedChar> mac, Pointer<UnsignedLongLong> maclen_p, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> ad, int adlen, Pointer<UnsignedChar> nsec, Pointer<UnsignedChar> npub, Pointer<UnsignedChar> k) int
crypto_aead_xchacha20poly1305_ietf_keybytes() int
crypto_aead_xchacha20poly1305_ietf_keygen(Pointer<UnsignedChar> k) → void
crypto_aead_xchacha20poly1305_ietf_messagebytes_max() int
crypto_aead_xchacha20poly1305_ietf_npubbytes() int
crypto_aead_xchacha20poly1305_ietf_nsecbytes() int
crypto_auth(Pointer<UnsignedChar> out, Pointer<UnsignedChar> in1, int inlen, Pointer<UnsignedChar> k) int
crypto_auth_bytes() int
crypto_auth_hmacsha256(Pointer<UnsignedChar> out, Pointer<UnsignedChar> in1, int inlen, Pointer<UnsignedChar> k) int
crypto_auth_hmacsha256_bytes() int
crypto_auth_hmacsha256_final(Pointer<crypto_auth_hmacsha256_state> state, Pointer<UnsignedChar> out) int
crypto_auth_hmacsha256_init(Pointer<crypto_auth_hmacsha256_state> state, Pointer<UnsignedChar> key, int keylen) int
crypto_auth_hmacsha256_keybytes() int
crypto_auth_hmacsha256_keygen(Pointer<UnsignedChar> k) → void
crypto_auth_hmacsha256_statebytes() int
crypto_auth_hmacsha256_update(Pointer<crypto_auth_hmacsha256_state> state, Pointer<UnsignedChar> in1, int inlen) int
crypto_auth_hmacsha256_verify(Pointer<UnsignedChar> h, Pointer<UnsignedChar> in1, int inlen, Pointer<UnsignedChar> k) int
crypto_auth_hmacsha512(Pointer<UnsignedChar> out, Pointer<UnsignedChar> in1, int inlen, Pointer<UnsignedChar> k) int
crypto_auth_hmacsha512256(Pointer<UnsignedChar> out, Pointer<UnsignedChar> in1, int inlen, Pointer<UnsignedChar> k) int
crypto_auth_hmacsha512256_bytes() int
crypto_auth_hmacsha512256_final(Pointer<crypto_auth_hmacsha512256_state> state, Pointer<UnsignedChar> out) int
crypto_auth_hmacsha512256_init(Pointer<crypto_auth_hmacsha512256_state> state, Pointer<UnsignedChar> key, int keylen) int
crypto_auth_hmacsha512256_keybytes() int
crypto_auth_hmacsha512256_keygen(Pointer<UnsignedChar> k) → void
crypto_auth_hmacsha512256_statebytes() int
crypto_auth_hmacsha512256_update(Pointer<crypto_auth_hmacsha512256_state> state, Pointer<UnsignedChar> in1, int inlen) int
crypto_auth_hmacsha512256_verify(Pointer<UnsignedChar> h, Pointer<UnsignedChar> in1, int inlen, Pointer<UnsignedChar> k) int
crypto_auth_hmacsha512_bytes() int
crypto_auth_hmacsha512_final(Pointer<crypto_auth_hmacsha512_state> state, Pointer<UnsignedChar> out) int
crypto_auth_hmacsha512_init(Pointer<crypto_auth_hmacsha512_state> state, Pointer<UnsignedChar> key, int keylen) int
crypto_auth_hmacsha512_keybytes() int
crypto_auth_hmacsha512_keygen(Pointer<UnsignedChar> k) → void
crypto_auth_hmacsha512_statebytes() int
crypto_auth_hmacsha512_update(Pointer<crypto_auth_hmacsha512_state> state, Pointer<UnsignedChar> in1, int inlen) int
crypto_auth_hmacsha512_verify(Pointer<UnsignedChar> h, Pointer<UnsignedChar> in1, int inlen, Pointer<UnsignedChar> k) int
crypto_auth_keybytes() int
crypto_auth_keygen(Pointer<UnsignedChar> k) → void
crypto_auth_primitive() Pointer<Char>
crypto_auth_verify(Pointer<UnsignedChar> h, Pointer<UnsignedChar> in1, int inlen, Pointer<UnsignedChar> k) int
crypto_box(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk) int
crypto_box_afternm(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_box_beforenm(Pointer<UnsignedChar> k, Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk) int
crypto_box_beforenmbytes() int
crypto_box_boxzerobytes() int
crypto_box_curve25519xsalsa20poly1305(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk) int
crypto_box_curve25519xsalsa20poly1305_afternm(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_box_curve25519xsalsa20poly1305_beforenm(Pointer<UnsignedChar> k, Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk) int
crypto_box_curve25519xsalsa20poly1305_beforenmbytes() int
crypto_box_curve25519xsalsa20poly1305_boxzerobytes() int
crypto_box_curve25519xsalsa20poly1305_keypair(Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk) int
crypto_box_curve25519xsalsa20poly1305_macbytes() int
crypto_box_curve25519xsalsa20poly1305_messagebytes_max() int
crypto_box_curve25519xsalsa20poly1305_noncebytes() int
crypto_box_curve25519xsalsa20poly1305_open(Pointer<UnsignedChar> m, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk) int
crypto_box_curve25519xsalsa20poly1305_open_afternm(Pointer<UnsignedChar> m, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_box_curve25519xsalsa20poly1305_publickeybytes() int
crypto_box_curve25519xsalsa20poly1305_secretkeybytes() int
crypto_box_curve25519xsalsa20poly1305_seed_keypair(Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk, Pointer<UnsignedChar> seed) int
crypto_box_curve25519xsalsa20poly1305_seedbytes() int
crypto_box_curve25519xsalsa20poly1305_zerobytes() int
crypto_box_detached(Pointer<UnsignedChar> c, Pointer<UnsignedChar> mac, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk) int
crypto_box_detached_afternm(Pointer<UnsignedChar> c, Pointer<UnsignedChar> mac, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_box_easy(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk) int
crypto_box_easy_afternm(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_box_keypair(Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk) int
crypto_box_macbytes() int
crypto_box_messagebytes_max() int
crypto_box_noncebytes() int
crypto_box_open(Pointer<UnsignedChar> m, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk) int
crypto_box_open_afternm(Pointer<UnsignedChar> m, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_box_open_detached(Pointer<UnsignedChar> m, Pointer<UnsignedChar> c, Pointer<UnsignedChar> mac, int clen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk) int
crypto_box_open_detached_afternm(Pointer<UnsignedChar> m, Pointer<UnsignedChar> c, Pointer<UnsignedChar> mac, int clen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_box_open_easy(Pointer<UnsignedChar> m, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk) int
crypto_box_open_easy_afternm(Pointer<UnsignedChar> m, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_box_primitive() Pointer<Char>
crypto_box_publickeybytes() int
crypto_box_seal(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> pk) int
crypto_box_seal_open(Pointer<UnsignedChar> m, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk) int
crypto_box_sealbytes() int
crypto_box_secretkeybytes() int
crypto_box_seed_keypair(Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk, Pointer<UnsignedChar> seed) int
crypto_box_seedbytes() int
crypto_box_zerobytes() int
crypto_core_hchacha20(Pointer<UnsignedChar> out, Pointer<UnsignedChar> in1, Pointer<UnsignedChar> k, Pointer<UnsignedChar> c) int
crypto_core_hchacha20_constbytes() int
crypto_core_hchacha20_inputbytes() int
crypto_core_hchacha20_keybytes() int
crypto_core_hchacha20_outputbytes() int
crypto_core_hsalsa20(Pointer<UnsignedChar> out, Pointer<UnsignedChar> in1, Pointer<UnsignedChar> k, Pointer<UnsignedChar> c) int
crypto_core_hsalsa20_constbytes() int
crypto_core_hsalsa20_inputbytes() int
crypto_core_hsalsa20_keybytes() int
crypto_core_hsalsa20_outputbytes() int
crypto_core_salsa20(Pointer<UnsignedChar> out, Pointer<UnsignedChar> in1, Pointer<UnsignedChar> k, Pointer<UnsignedChar> c) int
crypto_core_salsa2012(Pointer<UnsignedChar> out, Pointer<UnsignedChar> in1, Pointer<UnsignedChar> k, Pointer<UnsignedChar> c) int
crypto_core_salsa2012_constbytes() int
crypto_core_salsa2012_inputbytes() int
crypto_core_salsa2012_keybytes() int
crypto_core_salsa2012_outputbytes() int
crypto_core_salsa208(Pointer<UnsignedChar> out, Pointer<UnsignedChar> in1, Pointer<UnsignedChar> k, Pointer<UnsignedChar> c) int
crypto_core_salsa208_constbytes() int
crypto_core_salsa208_inputbytes() int
crypto_core_salsa208_keybytes() int
crypto_core_salsa208_outputbytes() int
crypto_core_salsa20_constbytes() int
crypto_core_salsa20_inputbytes() int
crypto_core_salsa20_keybytes() int
crypto_core_salsa20_outputbytes() int
crypto_generichash(Pointer<UnsignedChar> out, int outlen, Pointer<UnsignedChar> in1, int inlen, Pointer<UnsignedChar> key, int keylen) int
crypto_generichash_blake2b(Pointer<UnsignedChar> out, int outlen, Pointer<UnsignedChar> in1, int inlen, Pointer<UnsignedChar> key, int keylen) int
crypto_generichash_blake2b_bytes() int
crypto_generichash_blake2b_bytes_max() int
crypto_generichash_blake2b_bytes_min() int
crypto_generichash_blake2b_final(Pointer<crypto_generichash_blake2b_state> state, Pointer<UnsignedChar> out, int outlen) int
crypto_generichash_blake2b_init(Pointer<crypto_generichash_blake2b_state> state, Pointer<UnsignedChar> key, int keylen, int outlen) int
crypto_generichash_blake2b_init_salt_personal(Pointer<crypto_generichash_blake2b_state> state, Pointer<UnsignedChar> key, int keylen, int outlen, Pointer<UnsignedChar> salt, Pointer<UnsignedChar> personal) int
crypto_generichash_blake2b_keybytes() int
crypto_generichash_blake2b_keybytes_max() int
crypto_generichash_blake2b_keybytes_min() int
crypto_generichash_blake2b_keygen(Pointer<UnsignedChar> k) → void
crypto_generichash_blake2b_personalbytes() int
crypto_generichash_blake2b_salt_personal(Pointer<UnsignedChar> out, int outlen, Pointer<UnsignedChar> in1, int inlen, Pointer<UnsignedChar> key, int keylen, Pointer<UnsignedChar> salt, Pointer<UnsignedChar> personal) int
crypto_generichash_blake2b_saltbytes() int
crypto_generichash_blake2b_statebytes() int
crypto_generichash_blake2b_update(Pointer<crypto_generichash_blake2b_state> state, Pointer<UnsignedChar> in1, int inlen) int
crypto_generichash_bytes() int
crypto_generichash_bytes_max() int
crypto_generichash_bytes_min() int
crypto_generichash_final(Pointer<crypto_generichash_state> state, Pointer<UnsignedChar> out, int outlen) int
crypto_generichash_init(Pointer<crypto_generichash_state> state, Pointer<UnsignedChar> key, int keylen, int outlen) int
crypto_generichash_keybytes() int
crypto_generichash_keybytes_max() int
crypto_generichash_keybytes_min() int
crypto_generichash_keygen(Pointer<UnsignedChar> k) → void
crypto_generichash_primitive() Pointer<Char>
crypto_generichash_statebytes() int
crypto_generichash_update(Pointer<crypto_generichash_state> state, Pointer<UnsignedChar> in1, int inlen) int
crypto_hash(Pointer<UnsignedChar> out, Pointer<UnsignedChar> in1, int inlen) int
crypto_hash_bytes() int
crypto_hash_primitive() Pointer<Char>
crypto_hash_sha256(Pointer<UnsignedChar> out, Pointer<UnsignedChar> in1, int inlen) int
crypto_hash_sha256_bytes() int
crypto_hash_sha256_final(Pointer<crypto_hash_sha256_state> state, Pointer<UnsignedChar> out) int
crypto_hash_sha256_init(Pointer<crypto_hash_sha256_state> state) int
crypto_hash_sha256_statebytes() int
crypto_hash_sha256_update(Pointer<crypto_hash_sha256_state> state, Pointer<UnsignedChar> in1, int inlen) int
crypto_hash_sha512(Pointer<UnsignedChar> out, Pointer<UnsignedChar> in1, int inlen) int
crypto_hash_sha512_bytes() int
crypto_hash_sha512_final(Pointer<crypto_hash_sha512_state> state, Pointer<UnsignedChar> out) int
crypto_hash_sha512_init(Pointer<crypto_hash_sha512_state> state) int
crypto_hash_sha512_statebytes() int
crypto_hash_sha512_update(Pointer<crypto_hash_sha512_state> state, Pointer<UnsignedChar> in1, int inlen) int
crypto_kdf_blake2b_bytes_max() int
crypto_kdf_blake2b_bytes_min() int
crypto_kdf_blake2b_contextbytes() int
crypto_kdf_blake2b_derive_from_key(Pointer<UnsignedChar> subkey, int subkey_len, int subkey_id, Pointer<Char> ctx, Pointer<UnsignedChar> key) int
crypto_kdf_blake2b_keybytes() int
crypto_kdf_bytes_max() int
crypto_kdf_bytes_min() int
crypto_kdf_contextbytes() int
crypto_kdf_derive_from_key(Pointer<UnsignedChar> subkey, int subkey_len, int subkey_id, Pointer<Char> ctx, Pointer<UnsignedChar> key) int
crypto_kdf_keybytes() int
crypto_kdf_keygen(Pointer<UnsignedChar> k) → void
crypto_kdf_primitive() Pointer<Char>
crypto_kx_client_session_keys(Pointer<UnsignedChar> rx, Pointer<UnsignedChar> tx, Pointer<UnsignedChar> client_pk, Pointer<UnsignedChar> client_sk, Pointer<UnsignedChar> server_pk) int
crypto_kx_keypair(Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk) int
crypto_kx_primitive() Pointer<Char>
crypto_kx_publickeybytes() int
crypto_kx_secretkeybytes() int
crypto_kx_seed_keypair(Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk, Pointer<UnsignedChar> seed) int
crypto_kx_seedbytes() int
crypto_kx_server_session_keys(Pointer<UnsignedChar> rx, Pointer<UnsignedChar> tx, Pointer<UnsignedChar> server_pk, Pointer<UnsignedChar> server_sk, Pointer<UnsignedChar> client_pk) int
crypto_kx_sessionkeybytes() int
crypto_onetimeauth(Pointer<UnsignedChar> out, Pointer<UnsignedChar> in1, int inlen, Pointer<UnsignedChar> k) int
crypto_onetimeauth_bytes() int
crypto_onetimeauth_final(Pointer<crypto_onetimeauth_state> state, Pointer<UnsignedChar> out) int
crypto_onetimeauth_init(Pointer<crypto_onetimeauth_state> state, Pointer<UnsignedChar> key) int
crypto_onetimeauth_keybytes() int
crypto_onetimeauth_keygen(Pointer<UnsignedChar> k) → void
crypto_onetimeauth_poly1305(Pointer<UnsignedChar> out, Pointer<UnsignedChar> in1, int inlen, Pointer<UnsignedChar> k) int
crypto_onetimeauth_poly1305_bytes() int
crypto_onetimeauth_poly1305_final(Pointer<crypto_onetimeauth_poly1305_state> state, Pointer<UnsignedChar> out) int
crypto_onetimeauth_poly1305_init(Pointer<crypto_onetimeauth_poly1305_state> state, Pointer<UnsignedChar> key) int
crypto_onetimeauth_poly1305_keybytes() int
crypto_onetimeauth_poly1305_keygen(Pointer<UnsignedChar> k) → void
crypto_onetimeauth_poly1305_statebytes() int
crypto_onetimeauth_poly1305_update(Pointer<crypto_onetimeauth_poly1305_state> state, Pointer<UnsignedChar> in1, int inlen) int
crypto_onetimeauth_poly1305_verify(Pointer<UnsignedChar> h, Pointer<UnsignedChar> in1, int inlen, Pointer<UnsignedChar> k) int
crypto_onetimeauth_primitive() Pointer<Char>
crypto_onetimeauth_statebytes() int
crypto_onetimeauth_update(Pointer<crypto_onetimeauth_state> state, Pointer<UnsignedChar> in1, int inlen) int
crypto_onetimeauth_verify(Pointer<UnsignedChar> h, Pointer<UnsignedChar> in1, int inlen, Pointer<UnsignedChar> k) int
crypto_pwhash(Pointer<UnsignedChar> out, int outlen, Pointer<Char> passwd, int passwdlen, Pointer<UnsignedChar> salt, int opslimit, int memlimit, int alg) int
crypto_pwhash_alg_argon2i13() int
crypto_pwhash_alg_argon2id13() int
crypto_pwhash_alg_default() int
crypto_pwhash_argon2i(Pointer<UnsignedChar> out, int outlen, Pointer<Char> passwd, int passwdlen, Pointer<UnsignedChar> salt, int opslimit, int memlimit, int alg) int
crypto_pwhash_argon2i_alg_argon2i13() int
crypto_pwhash_argon2i_bytes_max() int
crypto_pwhash_argon2i_bytes_min() int
crypto_pwhash_argon2i_memlimit_interactive() int
crypto_pwhash_argon2i_memlimit_max() int
crypto_pwhash_argon2i_memlimit_min() int
crypto_pwhash_argon2i_memlimit_moderate() int
crypto_pwhash_argon2i_memlimit_sensitive() int
crypto_pwhash_argon2i_opslimit_interactive() int
crypto_pwhash_argon2i_opslimit_max() int
crypto_pwhash_argon2i_opslimit_min() int
crypto_pwhash_argon2i_opslimit_moderate() int
crypto_pwhash_argon2i_opslimit_sensitive() int
crypto_pwhash_argon2i_passwd_max() int
crypto_pwhash_argon2i_passwd_min() int
crypto_pwhash_argon2i_saltbytes() int
crypto_pwhash_argon2i_str(Pointer<Char> out, Pointer<Char> passwd, int passwdlen, int opslimit, int memlimit) int
crypto_pwhash_argon2i_str_needs_rehash(Pointer<Char> str, int opslimit, int memlimit) int
crypto_pwhash_argon2i_str_verify(Pointer<Char> str, Pointer<Char> passwd, int passwdlen) int
crypto_pwhash_argon2i_strbytes() int
crypto_pwhash_argon2i_strprefix() Pointer<Char>
crypto_pwhash_argon2id(Pointer<UnsignedChar> out, int outlen, Pointer<Char> passwd, int passwdlen, Pointer<UnsignedChar> salt, int opslimit, int memlimit, int alg) int
crypto_pwhash_argon2id_alg_argon2id13() int
crypto_pwhash_argon2id_bytes_max() int
crypto_pwhash_argon2id_bytes_min() int
crypto_pwhash_argon2id_memlimit_interactive() int
crypto_pwhash_argon2id_memlimit_max() int
crypto_pwhash_argon2id_memlimit_min() int
crypto_pwhash_argon2id_memlimit_moderate() int
crypto_pwhash_argon2id_memlimit_sensitive() int
crypto_pwhash_argon2id_opslimit_interactive() int
crypto_pwhash_argon2id_opslimit_max() int
crypto_pwhash_argon2id_opslimit_min() int
crypto_pwhash_argon2id_opslimit_moderate() int
crypto_pwhash_argon2id_opslimit_sensitive() int
crypto_pwhash_argon2id_passwd_max() int
crypto_pwhash_argon2id_passwd_min() int
crypto_pwhash_argon2id_saltbytes() int
crypto_pwhash_argon2id_str(Pointer<Char> out, Pointer<Char> passwd, int passwdlen, int opslimit, int memlimit) int
crypto_pwhash_argon2id_str_needs_rehash(Pointer<Char> str, int opslimit, int memlimit) int
crypto_pwhash_argon2id_str_verify(Pointer<Char> str, Pointer<Char> passwd, int passwdlen) int
crypto_pwhash_argon2id_strbytes() int
crypto_pwhash_argon2id_strprefix() Pointer<Char>
crypto_pwhash_bytes_max() int
crypto_pwhash_bytes_min() int
crypto_pwhash_memlimit_interactive() int
crypto_pwhash_memlimit_max() int
crypto_pwhash_memlimit_min() int
crypto_pwhash_memlimit_moderate() int
crypto_pwhash_memlimit_sensitive() int
crypto_pwhash_opslimit_interactive() int
crypto_pwhash_opslimit_max() int
crypto_pwhash_opslimit_min() int
crypto_pwhash_opslimit_moderate() int
crypto_pwhash_opslimit_sensitive() int
crypto_pwhash_passwd_max() int
crypto_pwhash_passwd_min() int
crypto_pwhash_primitive() Pointer<Char>
crypto_pwhash_saltbytes() int
crypto_pwhash_str(Pointer<Char> out, Pointer<Char> passwd, int passwdlen, int opslimit, int memlimit) int
crypto_pwhash_str_alg(Pointer<Char> out, Pointer<Char> passwd, int passwdlen, int opslimit, int memlimit, int alg) int
crypto_pwhash_str_needs_rehash(Pointer<Char> str, int opslimit, int memlimit) int
crypto_pwhash_str_verify(Pointer<Char> str, Pointer<Char> passwd, int passwdlen) int
crypto_pwhash_strbytes() int
crypto_pwhash_strprefix() Pointer<Char>
crypto_scalarmult(Pointer<UnsignedChar> q, Pointer<UnsignedChar> n, Pointer<UnsignedChar> p) int
crypto_scalarmult_base(Pointer<UnsignedChar> q, Pointer<UnsignedChar> n) int
crypto_scalarmult_bytes() int
crypto_scalarmult_curve25519(Pointer<UnsignedChar> q, Pointer<UnsignedChar> n, Pointer<UnsignedChar> p) int
crypto_scalarmult_curve25519_base(Pointer<UnsignedChar> q, Pointer<UnsignedChar> n) int
crypto_scalarmult_curve25519_bytes() int
crypto_scalarmult_curve25519_scalarbytes() int
crypto_scalarmult_primitive() Pointer<Char>
crypto_scalarmult_scalarbytes() int
crypto_secretbox(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_secretbox_boxzerobytes() int
crypto_secretbox_detached(Pointer<UnsignedChar> c, Pointer<UnsignedChar> mac, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_secretbox_easy(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_secretbox_keybytes() int
crypto_secretbox_keygen(Pointer<UnsignedChar> k) → void
crypto_secretbox_macbytes() int
crypto_secretbox_messagebytes_max() int
crypto_secretbox_noncebytes() int
crypto_secretbox_open(Pointer<UnsignedChar> m, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_secretbox_open_detached(Pointer<UnsignedChar> m, Pointer<UnsignedChar> c, Pointer<UnsignedChar> mac, int clen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_secretbox_open_easy(Pointer<UnsignedChar> m, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_secretbox_primitive() Pointer<Char>
crypto_secretbox_xsalsa20poly1305(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_secretbox_xsalsa20poly1305_boxzerobytes() int
crypto_secretbox_xsalsa20poly1305_keybytes() int
crypto_secretbox_xsalsa20poly1305_keygen(Pointer<UnsignedChar> k) → void
crypto_secretbox_xsalsa20poly1305_macbytes() int
crypto_secretbox_xsalsa20poly1305_messagebytes_max() int
crypto_secretbox_xsalsa20poly1305_noncebytes() int
crypto_secretbox_xsalsa20poly1305_open(Pointer<UnsignedChar> m, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_secretbox_xsalsa20poly1305_zerobytes() int
crypto_secretbox_zerobytes() int
crypto_secretstream_xchacha20poly1305_abytes() int
crypto_secretstream_xchacha20poly1305_headerbytes() int
crypto_secretstream_xchacha20poly1305_init_pull(Pointer<crypto_secretstream_xchacha20poly1305_state> state, Pointer<UnsignedChar> header, Pointer<UnsignedChar> k) int
crypto_secretstream_xchacha20poly1305_init_push(Pointer<crypto_secretstream_xchacha20poly1305_state> state, Pointer<UnsignedChar> header, Pointer<UnsignedChar> k) int
crypto_secretstream_xchacha20poly1305_keybytes() int
crypto_secretstream_xchacha20poly1305_keygen(Pointer<UnsignedChar> k) → void
crypto_secretstream_xchacha20poly1305_messagebytes_max() int
crypto_secretstream_xchacha20poly1305_pull(Pointer<crypto_secretstream_xchacha20poly1305_state> state, Pointer<UnsignedChar> m, Pointer<UnsignedLongLong> mlen_p, Pointer<UnsignedChar> tag_p, Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> ad, int adlen) int
crypto_secretstream_xchacha20poly1305_push(Pointer<crypto_secretstream_xchacha20poly1305_state> state, Pointer<UnsignedChar> c, Pointer<UnsignedLongLong> clen_p, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> ad, int adlen, int tag) int
crypto_secretstream_xchacha20poly1305_rekey(Pointer<crypto_secretstream_xchacha20poly1305_state> state) → void
crypto_secretstream_xchacha20poly1305_statebytes() int
crypto_secretstream_xchacha20poly1305_tag_final() int
crypto_secretstream_xchacha20poly1305_tag_message() int
crypto_secretstream_xchacha20poly1305_tag_push() int
crypto_secretstream_xchacha20poly1305_tag_rekey() int
crypto_shorthash(Pointer<UnsignedChar> out, Pointer<UnsignedChar> in1, int inlen, Pointer<UnsignedChar> k) int
crypto_shorthash_bytes() int
crypto_shorthash_keybytes() int
crypto_shorthash_keygen(Pointer<UnsignedChar> k) → void
crypto_shorthash_primitive() Pointer<Char>
crypto_shorthash_siphash24(Pointer<UnsignedChar> out, Pointer<UnsignedChar> in1, int inlen, Pointer<UnsignedChar> k) int
crypto_shorthash_siphash24_bytes() int
crypto_shorthash_siphash24_keybytes() int
crypto_sign(Pointer<UnsignedChar> sm, Pointer<UnsignedLongLong> smlen_p, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> sk) int
crypto_sign_bytes() int
crypto_sign_detached(Pointer<UnsignedChar> sig, Pointer<UnsignedLongLong> siglen_p, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> sk) int
crypto_sign_ed25519(Pointer<UnsignedChar> sm, Pointer<UnsignedLongLong> smlen_p, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> sk) int
crypto_sign_ed25519_bytes() int
crypto_sign_ed25519_detached(Pointer<UnsignedChar> sig, Pointer<UnsignedLongLong> siglen_p, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> sk) int
crypto_sign_ed25519_keypair(Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk) int
crypto_sign_ed25519_messagebytes_max() int
crypto_sign_ed25519_open(Pointer<UnsignedChar> m, Pointer<UnsignedLongLong> mlen_p, Pointer<UnsignedChar> sm, int smlen, Pointer<UnsignedChar> pk) int
crypto_sign_ed25519_pk_to_curve25519(Pointer<UnsignedChar> curve25519_pk, Pointer<UnsignedChar> ed25519_pk) int
crypto_sign_ed25519_publickeybytes() int
crypto_sign_ed25519_secretkeybytes() int
crypto_sign_ed25519_seed_keypair(Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk, Pointer<UnsignedChar> seed) int
crypto_sign_ed25519_seedbytes() int
crypto_sign_ed25519_sk_to_curve25519(Pointer<UnsignedChar> curve25519_sk, Pointer<UnsignedChar> ed25519_sk) int
crypto_sign_ed25519_sk_to_pk(Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk) int
crypto_sign_ed25519_sk_to_seed(Pointer<UnsignedChar> seed, Pointer<UnsignedChar> sk) int
crypto_sign_ed25519_verify_detached(Pointer<UnsignedChar> sig, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> pk) int
crypto_sign_ed25519ph_final_create(Pointer<crypto_sign_ed25519ph_state> state, Pointer<UnsignedChar> sig, Pointer<UnsignedLongLong> siglen_p, Pointer<UnsignedChar> sk) int
crypto_sign_ed25519ph_final_verify(Pointer<crypto_sign_ed25519ph_state> state, Pointer<UnsignedChar> sig, Pointer<UnsignedChar> pk) int
crypto_sign_ed25519ph_init(Pointer<crypto_sign_ed25519ph_state> state) int
crypto_sign_ed25519ph_statebytes() int
crypto_sign_ed25519ph_update(Pointer<crypto_sign_ed25519ph_state> state, Pointer<UnsignedChar> m, int mlen) int
crypto_sign_final_create(Pointer<crypto_sign_state> state, Pointer<UnsignedChar> sig, Pointer<UnsignedLongLong> siglen_p, Pointer<UnsignedChar> sk) int
crypto_sign_final_verify(Pointer<crypto_sign_state> state, Pointer<UnsignedChar> sig, Pointer<UnsignedChar> pk) int
crypto_sign_init(Pointer<crypto_sign_state> state) int
crypto_sign_keypair(Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk) int
crypto_sign_messagebytes_max() int
crypto_sign_open(Pointer<UnsignedChar> m, Pointer<UnsignedLongLong> mlen_p, Pointer<UnsignedChar> sm, int smlen, Pointer<UnsignedChar> pk) int
crypto_sign_primitive() Pointer<Char>
crypto_sign_publickeybytes() int
crypto_sign_secretkeybytes() int
crypto_sign_seed_keypair(Pointer<UnsignedChar> pk, Pointer<UnsignedChar> sk, Pointer<UnsignedChar> seed) int
crypto_sign_seedbytes() int
crypto_sign_statebytes() int
crypto_sign_update(Pointer<crypto_sign_state> state, Pointer<UnsignedChar> m, int mlen) int
crypto_sign_verify_detached(Pointer<UnsignedChar> sig, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> pk) int
crypto_stream(Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_stream_chacha20(Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_stream_chacha20_ietf(Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_stream_chacha20_ietf_keybytes() int
crypto_stream_chacha20_ietf_keygen(Pointer<UnsignedChar> k) → void
crypto_stream_chacha20_ietf_messagebytes_max() int
crypto_stream_chacha20_ietf_noncebytes() int
crypto_stream_chacha20_ietf_xor(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_stream_chacha20_ietf_xor_ic(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, int ic, Pointer<UnsignedChar> k) int
crypto_stream_chacha20_keybytes() int
crypto_stream_chacha20_keygen(Pointer<UnsignedChar> k) → void
crypto_stream_chacha20_messagebytes_max() int
crypto_stream_chacha20_noncebytes() int
crypto_stream_chacha20_xor(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_stream_chacha20_xor_ic(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, int ic, Pointer<UnsignedChar> k) int
crypto_stream_keybytes() int
crypto_stream_keygen(Pointer<UnsignedChar> k) → void
crypto_stream_messagebytes_max() int
crypto_stream_noncebytes() int
crypto_stream_primitive() Pointer<Char>
crypto_stream_salsa20(Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_stream_salsa20_keybytes() int
crypto_stream_salsa20_keygen(Pointer<UnsignedChar> k) → void
crypto_stream_salsa20_messagebytes_max() int
crypto_stream_salsa20_noncebytes() int
crypto_stream_salsa20_xor(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_stream_salsa20_xor_ic(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, int ic, Pointer<UnsignedChar> k) int
crypto_stream_xor(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_stream_xsalsa20(Pointer<UnsignedChar> c, int clen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_stream_xsalsa20_keybytes() int
crypto_stream_xsalsa20_keygen(Pointer<UnsignedChar> k) → void
crypto_stream_xsalsa20_messagebytes_max() int
crypto_stream_xsalsa20_noncebytes() int
crypto_stream_xsalsa20_xor(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, Pointer<UnsignedChar> k) int
crypto_stream_xsalsa20_xor_ic(Pointer<UnsignedChar> c, Pointer<UnsignedChar> m, int mlen, Pointer<UnsignedChar> n, int ic, Pointer<UnsignedChar> k) int
crypto_verify_16(Pointer<UnsignedChar> x, Pointer<UnsignedChar> y) int
crypto_verify_16_bytes() int
crypto_verify_32(Pointer<UnsignedChar> x, Pointer<UnsignedChar> y) int
crypto_verify_32_bytes() int
crypto_verify_64(Pointer<UnsignedChar> x, Pointer<UnsignedChar> y) int
crypto_verify_64_bytes() int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
randombytes(Pointer<UnsignedChar> buf, int buf_len) → void
randombytes_buf(Pointer<Void> buf, int size) → void
randombytes_buf_deterministic(Pointer<Void> buf, int size, Pointer<UnsignedChar> seed) → void
randombytes_close() int
randombytes_implementation_name() Pointer<Char>
randombytes_random() int
randombytes_seedbytes() int
randombytes_set_implementation(Pointer<randombytes_implementation> impl) int
randombytes_stir() → void
randombytes_uniform(int upper_bound) int
sodium_add(Pointer<UnsignedChar> a, Pointer<UnsignedChar> b, int len) → void
sodium_allocarray(int count, int size) Pointer<Void>
sodium_base642bin(Pointer<UnsignedChar> bin, int bin_maxlen, Pointer<Char> b64, int b64_len, Pointer<Char> ignore, Pointer<Size> bin_len, Pointer<Pointer<Char>> b64_end, int variant) int
sodium_base64_encoded_len(int bin_len, int variant) int
sodium_bin2base64(Pointer<Char> b64, int b64_maxlen, Pointer<UnsignedChar> bin, int bin_len, int variant) Pointer<Char>
sodium_bin2hex(Pointer<Char> hex, int hex_maxlen, Pointer<UnsignedChar> bin, int bin_len) Pointer<Char>
sodium_compare(Pointer<UnsignedChar> b1_, Pointer<UnsignedChar> b2_, int len) int
sodium_free(Pointer<Void> ptr) → void
sodium_hex2bin(Pointer<UnsignedChar> bin, int bin_maxlen, Pointer<Char> hex, int hex_len, Pointer<Char> ignore, Pointer<Size> bin_len, Pointer<Pointer<Char>> hex_end) int
sodium_increment(Pointer<UnsignedChar> n, int nlen) → void
sodium_init() int
sodium_is_zero(Pointer<UnsignedChar> n, int nlen) int
sodium_library_minimal() int
sodium_library_version_major() int
sodium_library_version_minor() int
sodium_malloc(int size) Pointer<Void>
sodium_memcmp(Pointer<Void> b1_, Pointer<Void> b2_, int len) int
sodium_memzero(Pointer<Void> pnt, int len) → void
sodium_misuse() → void
sodium_mlock(Pointer<Void> addr, int len) int
sodium_mprotect_noaccess(Pointer<Void> ptr) int
sodium_mprotect_readonly(Pointer<Void> ptr) int
sodium_mprotect_readwrite(Pointer<Void> ptr) int
sodium_munlock(Pointer<Void> addr, int len) int
sodium_pad(Pointer<Size> padded_buflen_p, Pointer<UnsignedChar> buf, int unpadded_buflen, int blocksize, int max_buflen) int
sodium_runtime_has_aesni() int
sodium_runtime_has_avx() int
sodium_runtime_has_avx2() int
sodium_runtime_has_avx512f() int
sodium_runtime_has_neon() int
sodium_runtime_has_pclmul() int
sodium_runtime_has_rdrand() int
sodium_runtime_has_sse2() int
sodium_runtime_has_sse3() int
sodium_runtime_has_sse41() int
sodium_runtime_has_ssse3() int
sodium_set_misuse_handler(Pointer<NativeFunction<Void Function()>> handler) int
sodium_stackzero(int len) → void
sodium_sub(Pointer<UnsignedChar> a, Pointer<UnsignedChar> b, int len) → void
sodium_unpad(Pointer<Size> unpadded_buflen_p, Pointer<UnsignedChar> buf, int padded_buflen, int blocksize) int
sodium_version_string() Pointer<Char>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited