tuweni / org.apache.tuweni.crypto.sodium / LibSodium

LibSodium

interface LibSodium (source)

Functions

_sodium_alloc_init

abstract fun _sodium_alloc_init(): Int

_sodium_runtime_get_cpu_features

abstract fun _sodium_runtime_get_cpu_features(): Int

buf

abstract fun buf(buf: ByteArray!, size: Long): Unit

close

abstract fun close(): Int

crypto_aead_aes256gcm_abytes

abstract fun crypto_aead_aes256gcm_abytes(): Long

crypto_aead_aes256gcm_beforenm

abstract fun crypto_aead_aes256gcm_beforenm(ctx_: Pointer!, k: Pointer!): Int

crypto_aead_aes256gcm_decrypt

abstract fun crypto_aead_aes256gcm_decrypt(m: ByteArray!, mlen_p: LongLongByReference!, nsec: Pointer!, c: ByteArray!, clen: Long, ad: ByteArray!, adlen: Long, npub: Pointer!, k: Pointer!): Int

crypto_aead_aes256gcm_decrypt_afternm

abstract fun crypto_aead_aes256gcm_decrypt_afternm(m: ByteArray!, mlen_p: LongLongByReference!, nsec: Pointer!, c: ByteArray!, clen: Long, ad: ByteArray!, adlen: Long, npub: Pointer!, ctx_: Pointer!): Int

crypto_aead_aes256gcm_decrypt_detached

abstract fun crypto_aead_aes256gcm_decrypt_detached(m: ByteArray!, nsec: Pointer!, c: ByteArray!, clen: Long, mac: ByteArray!, ad: ByteArray!, adlen: Long, npub: Pointer!, k: Pointer!): Int

crypto_aead_aes256gcm_decrypt_detached_afternm

abstract fun crypto_aead_aes256gcm_decrypt_detached_afternm(m: ByteArray!, nsec: Pointer!, c: ByteArray!, clen: Long, mac: ByteArray!, ad: ByteArray!, adlen: Long, npub: Pointer!, ctx_: Pointer!): Int

crypto_aead_aes256gcm_encrypt

abstract fun crypto_aead_aes256gcm_encrypt(c: ByteArray!, clen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: Pointer!, npub: Pointer!, k: Pointer!): Int

crypto_aead_aes256gcm_encrypt_afternm

abstract fun crypto_aead_aes256gcm_encrypt_afternm(c: ByteArray!, clen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: Pointer!, npub: Pointer!, ctx_: Pointer!): Int

crypto_aead_aes256gcm_encrypt_detached

abstract fun crypto_aead_aes256gcm_encrypt_detached(c: ByteArray!, mac: ByteArray!, maclen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: Pointer!, npub: Pointer!, k: Pointer!): Int

crypto_aead_aes256gcm_encrypt_detached_afternm

abstract fun crypto_aead_aes256gcm_encrypt_detached_afternm(c: ByteArray!, mac: ByteArray!, maclen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: Pointer!, npub: Pointer!, ctx_: Pointer!): Int

crypto_aead_aes256gcm_is_available

abstract fun crypto_aead_aes256gcm_is_available(): Int

crypto_aead_aes256gcm_keybytes

abstract fun crypto_aead_aes256gcm_keybytes(): Long

crypto_aead_aes256gcm_keygen

abstract fun crypto_aead_aes256gcm_keygen(k: Pointer!): Unit

crypto_aead_aes256gcm_messagebytes_max

abstract fun crypto_aead_aes256gcm_messagebytes_max(): Long

crypto_aead_aes256gcm_npubbytes

abstract fun crypto_aead_aes256gcm_npubbytes(): Long

crypto_aead_aes256gcm_nsecbytes

abstract fun crypto_aead_aes256gcm_nsecbytes(): Long

crypto_aead_aes256gcm_statebytes

abstract fun crypto_aead_aes256gcm_statebytes(): Long

crypto_aead_chacha20poly1305_abytes

abstract fun crypto_aead_chacha20poly1305_abytes(): Long

crypto_aead_chacha20poly1305_decrypt

abstract fun crypto_aead_chacha20poly1305_decrypt(m: ByteArray!, mlen_p: LongLongByReference!, nsec: ByteArray!, c: ByteArray!, clen: Long, ad: ByteArray!, adlen: Long, npub: ByteArray!, k: ByteArray!): Int

crypto_aead_chacha20poly1305_decrypt_detached

abstract fun crypto_aead_chacha20poly1305_decrypt_detached(m: ByteArray!, nsec: ByteArray!, c: ByteArray!, clen: Long, mac: ByteArray!, ad: ByteArray!, adlen: Long, npub: ByteArray!, k: ByteArray!): Int

crypto_aead_chacha20poly1305_encrypt

abstract fun crypto_aead_chacha20poly1305_encrypt(c: ByteArray!, clen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: ByteArray!, npub: ByteArray!, k: ByteArray!): Int

crypto_aead_chacha20poly1305_encrypt_detached

abstract fun crypto_aead_chacha20poly1305_encrypt_detached(c: ByteArray!, mac: ByteArray!, maclen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: ByteArray!, npub: ByteArray!, k: ByteArray!): Int

crypto_aead_chacha20poly1305_ietf_abytes

abstract fun crypto_aead_chacha20poly1305_ietf_abytes(): Long

crypto_aead_chacha20poly1305_ietf_decrypt

abstract fun crypto_aead_chacha20poly1305_ietf_decrypt(m: ByteArray!, mlen_p: LongLongByReference!, nsec: ByteArray!, c: ByteArray!, clen: Long, ad: ByteArray!, adlen: Long, npub: ByteArray!, k: ByteArray!): Int

crypto_aead_chacha20poly1305_ietf_decrypt_detached

abstract fun crypto_aead_chacha20poly1305_ietf_decrypt_detached(m: ByteArray!, nsec: ByteArray!, c: ByteArray!, clen: Long, mac: ByteArray!, ad: ByteArray!, adlen: Long, npub: ByteArray!, k: ByteArray!): Int

crypto_aead_chacha20poly1305_ietf_encrypt

abstract fun crypto_aead_chacha20poly1305_ietf_encrypt(c: ByteArray!, clen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: ByteArray!, npub: ByteArray!, k: ByteArray!): Int

crypto_aead_chacha20poly1305_ietf_encrypt_detached

abstract fun crypto_aead_chacha20poly1305_ietf_encrypt_detached(c: ByteArray!, mac: ByteArray!, maclen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: ByteArray!, npub: ByteArray!, k: ByteArray!): Int

crypto_aead_chacha20poly1305_ietf_keybytes

abstract fun crypto_aead_chacha20poly1305_ietf_keybytes(): Long

crypto_aead_chacha20poly1305_ietf_keygen

abstract fun crypto_aead_chacha20poly1305_ietf_keygen(k: ByteArray!): Unit

crypto_aead_chacha20poly1305_ietf_messagebytes_max

abstract fun crypto_aead_chacha20poly1305_ietf_messagebytes_max(): Long

crypto_aead_chacha20poly1305_ietf_npubbytes

abstract fun crypto_aead_chacha20poly1305_ietf_npubbytes(): Long

crypto_aead_chacha20poly1305_ietf_nsecbytes

abstract fun crypto_aead_chacha20poly1305_ietf_nsecbytes(): Long

crypto_aead_chacha20poly1305_keybytes

abstract fun crypto_aead_chacha20poly1305_keybytes(): Long

crypto_aead_chacha20poly1305_keygen

abstract fun crypto_aead_chacha20poly1305_keygen(k: ByteArray!): Unit

crypto_aead_chacha20poly1305_messagebytes_max

abstract fun crypto_aead_chacha20poly1305_messagebytes_max(): Long

crypto_aead_chacha20poly1305_npubbytes

abstract fun crypto_aead_chacha20poly1305_npubbytes(): Long

crypto_aead_chacha20poly1305_nsecbytes

abstract fun crypto_aead_chacha20poly1305_nsecbytes(): Long

crypto_aead_xchacha20poly1305_ietf_abytes

abstract fun crypto_aead_xchacha20poly1305_ietf_abytes(): Long

crypto_aead_xchacha20poly1305_ietf_decrypt

abstract fun crypto_aead_xchacha20poly1305_ietf_decrypt(m: ByteArray!, mlen_p: LongLongByReference!, nsec: ByteArray!, c: ByteArray!, clen: Long, ad: ByteArray!, adlen: Long, npub: Pointer!, k: Pointer!): Int

crypto_aead_xchacha20poly1305_ietf_decrypt_detached

abstract fun crypto_aead_xchacha20poly1305_ietf_decrypt_detached(m: ByteArray!, nsec: ByteArray!, c: ByteArray!, clen: Long, mac: ByteArray!, ad: ByteArray!, adlen: Long, npub: Pointer!, k: Pointer!): Int

crypto_aead_xchacha20poly1305_ietf_encrypt

abstract fun crypto_aead_xchacha20poly1305_ietf_encrypt(c: ByteArray!, clen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: ByteArray!, npub: Pointer!, k: Pointer!): Int

crypto_aead_xchacha20poly1305_ietf_encrypt_detached

abstract fun crypto_aead_xchacha20poly1305_ietf_encrypt_detached(c: ByteArray!, mac: ByteArray!, maclen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: ByteArray!, npub: Pointer!, k: Pointer!): Int

crypto_aead_xchacha20poly1305_ietf_keybytes

abstract fun crypto_aead_xchacha20poly1305_ietf_keybytes(): Long

crypto_aead_xchacha20poly1305_ietf_keygen

abstract fun crypto_aead_xchacha20poly1305_ietf_keygen(k: Pointer!): Unit

crypto_aead_xchacha20poly1305_ietf_messagebytes_max

abstract fun crypto_aead_xchacha20poly1305_ietf_messagebytes_max(): Long

crypto_aead_xchacha20poly1305_ietf_npubbytes

abstract fun crypto_aead_xchacha20poly1305_ietf_npubbytes(): Long

crypto_aead_xchacha20poly1305_ietf_nsecbytes

abstract fun crypto_aead_xchacha20poly1305_ietf_nsecbytes(): Long

crypto_auth

abstract fun crypto_auth(out: ByteArray!, in: ByteArray!, inlen: Long, k: Pointer!): Int

crypto_auth_bytes

abstract fun crypto_auth_bytes(): Long

crypto_auth_hmacsha256

abstract fun crypto_auth_hmacsha256(out: ByteArray!, in: ByteArray!, inlen: Long, k: Pointer!): Int

crypto_auth_hmacsha256_bytes

abstract fun crypto_auth_hmacsha256_bytes(): Long

crypto_auth_hmacsha256_final

abstract fun crypto_auth_hmacsha256_final(state: Pointer!, out: ByteArray!): Int

crypto_auth_hmacsha256_init

abstract fun crypto_auth_hmacsha256_init(state: Pointer!, key: ByteArray!, keylen: Long): Int

crypto_auth_hmacsha256_keybytes

abstract fun crypto_auth_hmacsha256_keybytes(): Long

crypto_auth_hmacsha256_keygen

abstract fun crypto_auth_hmacsha256_keygen(k: ByteArray!): Unit

crypto_auth_hmacsha256_statebytes

abstract fun crypto_auth_hmacsha256_statebytes(): Long

crypto_auth_hmacsha256_update

abstract fun crypto_auth_hmacsha256_update(state: Pointer!, in: ByteArray!, inlen: Long): Int

crypto_auth_hmacsha256_verify

abstract fun crypto_auth_hmacsha256_verify(h: ByteArray!, in: ByteArray!, inlen: Long, k: Pointer!): Int

crypto_auth_hmacsha512

abstract fun crypto_auth_hmacsha512(out: ByteArray!, in: ByteArray!, inlen: Long, k: Pointer!): Int

crypto_auth_hmacsha512256

abstract fun crypto_auth_hmacsha512256(out: ByteArray!, in: ByteArray!, inlen: Long, k: Pointer!): Int

crypto_auth_hmacsha512256_bytes

abstract fun crypto_auth_hmacsha512256_bytes(): Long

crypto_auth_hmacsha512256_final

abstract fun crypto_auth_hmacsha512256_final(state: Pointer!, out: ByteArray!): Int

crypto_auth_hmacsha512256_init

abstract fun crypto_auth_hmacsha512256_init(state: Pointer!, key: ByteArray!, keylen: Long): Int

crypto_auth_hmacsha512256_keybytes

abstract fun crypto_auth_hmacsha512256_keybytes(): Long

crypto_auth_hmacsha512256_keygen

abstract fun crypto_auth_hmacsha512256_keygen(k: ByteArray!): Unit

crypto_auth_hmacsha512256_statebytes

abstract fun crypto_auth_hmacsha512256_statebytes(): Long

crypto_auth_hmacsha512256_update

abstract fun crypto_auth_hmacsha512256_update(state: Pointer!, in: ByteArray!, inlen: Long): Int

crypto_auth_hmacsha512256_verify

abstract fun crypto_auth_hmacsha512256_verify(h: ByteArray!, in: ByteArray!, inlen: Long, k: Pointer!): Int

crypto_auth_hmacsha512_bytes

abstract fun crypto_auth_hmacsha512_bytes(): Long

crypto_auth_hmacsha512_final

abstract fun crypto_auth_hmacsha512_final(state: Pointer!, out: ByteArray!): Int

crypto_auth_hmacsha512_init

abstract fun crypto_auth_hmacsha512_init(state: Pointer!, key: ByteArray!, keylen: Long): Int

crypto_auth_hmacsha512_keybytes

abstract fun crypto_auth_hmacsha512_keybytes(): Long

crypto_auth_hmacsha512_keygen

abstract fun crypto_auth_hmacsha512_keygen(k: ByteArray!): Unit

crypto_auth_hmacsha512_statebytes

abstract fun crypto_auth_hmacsha512_statebytes(): Long

crypto_auth_hmacsha512_update

abstract fun crypto_auth_hmacsha512_update(state: Pointer!, in: ByteArray!, inlen: Long): Int

crypto_auth_hmacsha512_verify

abstract fun crypto_auth_hmacsha512_verify(h: ByteArray!, in: ByteArray!, inlen: Long, k: Pointer!): Int

crypto_auth_keybytes

abstract fun crypto_auth_keybytes(): Long

crypto_auth_keygen

abstract fun crypto_auth_keygen(k: Pointer!): Unit

crypto_auth_primitive

abstract fun crypto_auth_primitive(): String!

crypto_auth_verify

abstract fun crypto_auth_verify(h: ByteArray!, in: ByteArray!, inlen: Long, k: Pointer!): Int

crypto_box

abstract fun crypto_box(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, pk: ByteArray!, sk: ByteArray!): Int

crypto_box_afternm

abstract fun crypto_box_afternm(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: Pointer!): Int

crypto_box_beforenm

abstract fun crypto_box_beforenm(k: Pointer!, pk: Pointer!, sk: Pointer!): Int

crypto_box_beforenmbytes

abstract fun crypto_box_beforenmbytes(): Long

crypto_box_boxzerobytes

abstract fun crypto_box_boxzerobytes(): Long

crypto_box_curve25519xchacha20poly1305_beforenm

abstract fun crypto_box_curve25519xchacha20poly1305_beforenm(k: Pointer!, pk: ByteArray!, sk: ByteArray!): Int

crypto_box_curve25519xchacha20poly1305_beforenmbytes

abstract fun crypto_box_curve25519xchacha20poly1305_beforenmbytes(): Long

crypto_box_curve25519xchacha20poly1305_detached

abstract fun crypto_box_curve25519xchacha20poly1305_detached(c: ByteArray!, mac: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, pk: ByteArray!, sk: ByteArray!): Int

crypto_box_curve25519xchacha20poly1305_detached_afternm

abstract fun crypto_box_curve25519xchacha20poly1305_detached_afternm(c: ByteArray!, mac: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: Pointer!): Int

crypto_box_curve25519xchacha20poly1305_easy

abstract fun crypto_box_curve25519xchacha20poly1305_easy(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, pk: ByteArray!, sk: ByteArray!): Int

crypto_box_curve25519xchacha20poly1305_easy_afternm

abstract fun crypto_box_curve25519xchacha20poly1305_easy_afternm(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: Pointer!): Int

crypto_box_curve25519xchacha20poly1305_keypair

abstract fun crypto_box_curve25519xchacha20poly1305_keypair(pk: ByteArray!, sk: ByteArray!): Int

crypto_box_curve25519xchacha20poly1305_macbytes

abstract fun crypto_box_curve25519xchacha20poly1305_macbytes(): Long

crypto_box_curve25519xchacha20poly1305_messagebytes_max

abstract fun crypto_box_curve25519xchacha20poly1305_messagebytes_max(): Long

crypto_box_curve25519xchacha20poly1305_noncebytes

abstract fun crypto_box_curve25519xchacha20poly1305_noncebytes(): Long

crypto_box_curve25519xchacha20poly1305_open_detached

abstract fun crypto_box_curve25519xchacha20poly1305_open_detached(m: ByteArray!, c: ByteArray!, mac: ByteArray!, clen: Long, n: ByteArray!, pk: ByteArray!, sk: ByteArray!): Int

crypto_box_curve25519xchacha20poly1305_open_detached_afternm

abstract fun crypto_box_curve25519xchacha20poly1305_open_detached_afternm(m: ByteArray!, c: ByteArray!, mac: ByteArray!, clen: Long, n: ByteArray!, k: Pointer!): Int

crypto_box_curve25519xchacha20poly1305_open_easy

abstract fun crypto_box_curve25519xchacha20poly1305_open_easy(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, pk: ByteArray!, sk: ByteArray!): Int

crypto_box_curve25519xchacha20poly1305_open_easy_afternm

abstract fun crypto_box_curve25519xchacha20poly1305_open_easy_afternm(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, k: Pointer!): Int

crypto_box_curve25519xchacha20poly1305_publickeybytes

abstract fun crypto_box_curve25519xchacha20poly1305_publickeybytes(): Long

crypto_box_curve25519xchacha20poly1305_seal

abstract fun crypto_box_curve25519xchacha20poly1305_seal(c: ByteArray!, m: ByteArray!, mlen: Long, pk: ByteArray!): Int

crypto_box_curve25519xchacha20poly1305_seal_open

abstract fun crypto_box_curve25519xchacha20poly1305_seal_open(m: ByteArray!, c: ByteArray!, clen: Long, pk: ByteArray!, sk: ByteArray!): Int

crypto_box_curve25519xchacha20poly1305_sealbytes

abstract fun crypto_box_curve25519xchacha20poly1305_sealbytes(): Long

crypto_box_curve25519xchacha20poly1305_secretkeybytes

abstract fun crypto_box_curve25519xchacha20poly1305_secretkeybytes(): Long

crypto_box_curve25519xchacha20poly1305_seed_keypair

abstract fun crypto_box_curve25519xchacha20poly1305_seed_keypair(pk: ByteArray!, sk: ByteArray!, seed: ByteArray!): Int

crypto_box_curve25519xchacha20poly1305_seedbytes

abstract fun crypto_box_curve25519xchacha20poly1305_seedbytes(): Long

crypto_box_curve25519xsalsa20poly1305

abstract fun crypto_box_curve25519xsalsa20poly1305(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, pk: ByteArray!, sk: ByteArray!): Int

crypto_box_curve25519xsalsa20poly1305_afternm

abstract fun crypto_box_curve25519xsalsa20poly1305_afternm(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: Pointer!): Int

crypto_box_curve25519xsalsa20poly1305_beforenm

abstract fun crypto_box_curve25519xsalsa20poly1305_beforenm(k: Pointer!, pk: ByteArray!, sk: ByteArray!): Int

crypto_box_curve25519xsalsa20poly1305_beforenmbytes

abstract fun crypto_box_curve25519xsalsa20poly1305_beforenmbytes(): Long

crypto_box_curve25519xsalsa20poly1305_boxzerobytes

abstract fun crypto_box_curve25519xsalsa20poly1305_boxzerobytes(): Long

crypto_box_curve25519xsalsa20poly1305_keypair

abstract fun crypto_box_curve25519xsalsa20poly1305_keypair(pk: ByteArray!, sk: ByteArray!): Int

crypto_box_curve25519xsalsa20poly1305_macbytes

abstract fun crypto_box_curve25519xsalsa20poly1305_macbytes(): Long

crypto_box_curve25519xsalsa20poly1305_messagebytes_max

abstract fun crypto_box_curve25519xsalsa20poly1305_messagebytes_max(): Long

crypto_box_curve25519xsalsa20poly1305_noncebytes

abstract fun crypto_box_curve25519xsalsa20poly1305_noncebytes(): Long

crypto_box_curve25519xsalsa20poly1305_open

abstract fun crypto_box_curve25519xsalsa20poly1305_open(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, pk: ByteArray!, sk: ByteArray!): Int

crypto_box_curve25519xsalsa20poly1305_open_afternm

abstract fun crypto_box_curve25519xsalsa20poly1305_open_afternm(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, k: Pointer!): Int

crypto_box_curve25519xsalsa20poly1305_publickeybytes

abstract fun crypto_box_curve25519xsalsa20poly1305_publickeybytes(): Long

crypto_box_curve25519xsalsa20poly1305_secretkeybytes

abstract fun crypto_box_curve25519xsalsa20poly1305_secretkeybytes(): Long

crypto_box_curve25519xsalsa20poly1305_seed_keypair

abstract fun crypto_box_curve25519xsalsa20poly1305_seed_keypair(pk: ByteArray!, sk: ByteArray!, seed: ByteArray!): Int

crypto_box_curve25519xsalsa20poly1305_seedbytes

abstract fun crypto_box_curve25519xsalsa20poly1305_seedbytes(): Long

crypto_box_curve25519xsalsa20poly1305_zerobytes

abstract fun crypto_box_curve25519xsalsa20poly1305_zerobytes(): Long

crypto_box_detached

abstract fun crypto_box_detached(c: ByteArray!, mac: ByteArray!, m: ByteArray!, mlen: Long, n: Pointer!, pk: Pointer!, sk: Pointer!): Int

crypto_box_detached_afternm

abstract fun crypto_box_detached_afternm(c: ByteArray!, mac: ByteArray!, m: ByteArray!, mlen: Long, n: Pointer!, k: Pointer!): Int

crypto_box_easy

abstract fun crypto_box_easy(c: ByteArray!, m: ByteArray!, mlen: Long, n: Pointer!, pk: Pointer!, sk: Pointer!): Int

crypto_box_easy_afternm

abstract fun crypto_box_easy_afternm(c: ByteArray!, m: ByteArray!, mlen: Long, n: Pointer!, k: Pointer!): Int

crypto_box_keypair

abstract fun crypto_box_keypair(pk: Pointer!, sk: Pointer!): Int

crypto_box_macbytes

abstract fun crypto_box_macbytes(): Long

crypto_box_messagebytes_max

abstract fun crypto_box_messagebytes_max(): Long

crypto_box_noncebytes

abstract fun crypto_box_noncebytes(): Long

crypto_box_open

abstract fun crypto_box_open(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, pk: ByteArray!, sk: ByteArray!): Int

crypto_box_open_afternm

abstract fun crypto_box_open_afternm(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, k: Pointer!): Int

crypto_box_open_detached

abstract fun crypto_box_open_detached(m: ByteArray!, c: ByteArray!, mac: ByteArray!, clen: Long, n: Pointer!, pk: Pointer!, sk: Pointer!): Int

crypto_box_open_detached_afternm

abstract fun crypto_box_open_detached_afternm(m: ByteArray!, c: ByteArray!, mac: ByteArray!, clen: Long, n: Pointer!, k: Pointer!): Int

crypto_box_open_easy

abstract fun crypto_box_open_easy(m: ByteArray!, c: ByteArray!, clen: Long, n: Pointer!, pk: Pointer!, sk: Pointer!): Int

crypto_box_open_easy_afternm

abstract fun crypto_box_open_easy_afternm(m: ByteArray!, c: ByteArray!, clen: Long, n: Pointer!, k: Pointer!): Int

crypto_box_primitive

abstract fun crypto_box_primitive(): String!

crypto_box_publickeybytes

abstract fun crypto_box_publickeybytes(): Long

crypto_box_seal

abstract fun crypto_box_seal(c: ByteArray!, m: ByteArray!, mlen: Long, pk: Pointer!): Int

crypto_box_seal_open

abstract fun crypto_box_seal_open(m: ByteArray!, c: ByteArray!, clen: Long, pk: Pointer!, sk: Pointer!): Int

crypto_box_sealbytes

abstract fun crypto_box_sealbytes(): Long

crypto_box_secretkeybytes

abstract fun crypto_box_secretkeybytes(): Long

crypto_box_seed_keypair

abstract fun crypto_box_seed_keypair(pk: Pointer!, sk: Pointer!, seed: Pointer!): Int

crypto_box_seedbytes

abstract fun crypto_box_seedbytes(): Long

crypto_box_zerobytes

abstract fun crypto_box_zerobytes(): Long

crypto_core_ed25519_add

abstract fun crypto_core_ed25519_add(r: ByteArray!, p: ByteArray!, q: ByteArray!): Int

crypto_core_ed25519_bytes

abstract fun crypto_core_ed25519_bytes(): Long

crypto_core_ed25519_from_hash

abstract fun crypto_core_ed25519_from_hash(p: ByteArray!, h: ByteArray!): Int

crypto_core_ed25519_from_uniform

abstract fun crypto_core_ed25519_from_uniform(p: ByteArray!, r: ByteArray!): Int

crypto_core_ed25519_hashbytes

abstract fun crypto_core_ed25519_hashbytes(): Long

crypto_core_ed25519_is_valid_point

abstract fun crypto_core_ed25519_is_valid_point(p: ByteArray!): Int

crypto_core_ed25519_nonreducedscalarbytes

abstract fun crypto_core_ed25519_nonreducedscalarbytes(): Long

crypto_core_ed25519_random

abstract fun crypto_core_ed25519_random(p: ByteArray!): Unit

crypto_core_ed25519_scalar_add

abstract fun crypto_core_ed25519_scalar_add(z: ByteArray!, x: ByteArray!, y: ByteArray!): Unit

crypto_core_ed25519_scalar_complement

abstract fun crypto_core_ed25519_scalar_complement(comp: ByteArray!, s: ByteArray!): Unit

crypto_core_ed25519_scalar_invert

abstract fun crypto_core_ed25519_scalar_invert(recip: ByteArray!, s: ByteArray!): Int

crypto_core_ed25519_scalar_mul

abstract fun crypto_core_ed25519_scalar_mul(z: ByteArray!, x: ByteArray!, y: ByteArray!): Unit

crypto_core_ed25519_scalar_negate

abstract fun crypto_core_ed25519_scalar_negate(neg: ByteArray!, s: ByteArray!): Unit

crypto_core_ed25519_scalar_random

abstract fun crypto_core_ed25519_scalar_random(r: ByteArray!): Unit

crypto_core_ed25519_scalar_reduce

abstract fun crypto_core_ed25519_scalar_reduce(r: ByteArray!, s: ByteArray!): Unit

crypto_core_ed25519_scalar_sub

abstract fun crypto_core_ed25519_scalar_sub(z: ByteArray!, x: ByteArray!, y: ByteArray!): Unit

crypto_core_ed25519_scalarbytes

abstract fun crypto_core_ed25519_scalarbytes(): Long

crypto_core_ed25519_sub

abstract fun crypto_core_ed25519_sub(r: ByteArray!, p: ByteArray!, q: ByteArray!): Int

crypto_core_ed25519_uniformbytes

abstract fun crypto_core_ed25519_uniformbytes(): Long

crypto_core_hchacha20

abstract fun crypto_core_hchacha20(out: ByteArray!, in: ByteArray!, k: ByteArray!, c: ByteArray!): Int

crypto_core_hchacha20_constbytes

abstract fun crypto_core_hchacha20_constbytes(): Long

crypto_core_hchacha20_inputbytes

abstract fun crypto_core_hchacha20_inputbytes(): Long

crypto_core_hchacha20_keybytes

abstract fun crypto_core_hchacha20_keybytes(): Long

crypto_core_hchacha20_outputbytes

abstract fun crypto_core_hchacha20_outputbytes(): Long

crypto_core_hsalsa20

abstract fun crypto_core_hsalsa20(out: ByteArray!, in: ByteArray!, k: ByteArray!, c: ByteArray!): Int

crypto_core_hsalsa20_constbytes

abstract fun crypto_core_hsalsa20_constbytes(): Long

crypto_core_hsalsa20_inputbytes

abstract fun crypto_core_hsalsa20_inputbytes(): Long

crypto_core_hsalsa20_keybytes

abstract fun crypto_core_hsalsa20_keybytes(): Long

crypto_core_hsalsa20_outputbytes

abstract fun crypto_core_hsalsa20_outputbytes(): Long

crypto_core_ristretto255_add

abstract fun crypto_core_ristretto255_add(r: ByteArray!, p: ByteArray!, q: ByteArray!): Int

crypto_core_ristretto255_bytes

abstract fun crypto_core_ristretto255_bytes(): Long

crypto_core_ristretto255_from_hash

abstract fun crypto_core_ristretto255_from_hash(p: ByteArray!, r: ByteArray!): Int

crypto_core_ristretto255_hashbytes

abstract fun crypto_core_ristretto255_hashbytes(): Long

crypto_core_ristretto255_is_valid_point

abstract fun crypto_core_ristretto255_is_valid_point(p: ByteArray!): Int

crypto_core_ristretto255_nonreducedscalarbytes

abstract fun crypto_core_ristretto255_nonreducedscalarbytes(): Long

crypto_core_ristretto255_random

abstract fun crypto_core_ristretto255_random(p: ByteArray!): Unit

crypto_core_ristretto255_scalar_add

abstract fun crypto_core_ristretto255_scalar_add(z: ByteArray!, x: ByteArray!, y: ByteArray!): Unit

crypto_core_ristretto255_scalar_complement

abstract fun crypto_core_ristretto255_scalar_complement(comp: ByteArray!, s: ByteArray!): Unit

crypto_core_ristretto255_scalar_invert

abstract fun crypto_core_ristretto255_scalar_invert(recip: ByteArray!, s: ByteArray!): Int

crypto_core_ristretto255_scalar_mul

abstract fun crypto_core_ristretto255_scalar_mul(z: ByteArray!, x: ByteArray!, y: ByteArray!): Unit

crypto_core_ristretto255_scalar_negate

abstract fun crypto_core_ristretto255_scalar_negate(neg: ByteArray!, s: ByteArray!): Unit

crypto_core_ristretto255_scalar_random

abstract fun crypto_core_ristretto255_scalar_random(r: ByteArray!): Unit

crypto_core_ristretto255_scalar_reduce

abstract fun crypto_core_ristretto255_scalar_reduce(r: ByteArray!, s: ByteArray!): Unit

crypto_core_ristretto255_scalar_sub

abstract fun crypto_core_ristretto255_scalar_sub(z: ByteArray!, x: ByteArray!, y: ByteArray!): Unit

crypto_core_ristretto255_scalarbytes

abstract fun crypto_core_ristretto255_scalarbytes(): Long

crypto_core_ristretto255_sub

abstract fun crypto_core_ristretto255_sub(r: ByteArray!, p: ByteArray!, q: ByteArray!): Int

crypto_core_salsa20

abstract fun crypto_core_salsa20(out: ByteArray!, in: ByteArray!, k: ByteArray!, c: ByteArray!): Int

crypto_core_salsa2012

abstract fun crypto_core_salsa2012(out: ByteArray!, in: ByteArray!, k: ByteArray!, c: ByteArray!): Int

crypto_core_salsa2012_constbytes

abstract fun crypto_core_salsa2012_constbytes(): Long

crypto_core_salsa2012_inputbytes

abstract fun crypto_core_salsa2012_inputbytes(): Long

crypto_core_salsa2012_keybytes

abstract fun crypto_core_salsa2012_keybytes(): Long

crypto_core_salsa2012_outputbytes

abstract fun crypto_core_salsa2012_outputbytes(): Long

crypto_core_salsa208

abstract fun crypto_core_salsa208(out: ByteArray!, in: ByteArray!, k: ByteArray!, c: ByteArray!): Int

crypto_core_salsa208_constbytes

abstract fun crypto_core_salsa208_constbytes(): Long

crypto_core_salsa208_inputbytes

abstract fun crypto_core_salsa208_inputbytes(): Long

crypto_core_salsa208_keybytes

abstract fun crypto_core_salsa208_keybytes(): Long

crypto_core_salsa208_outputbytes

abstract fun crypto_core_salsa208_outputbytes(): Long

crypto_core_salsa20_constbytes

abstract fun crypto_core_salsa20_constbytes(): Long

crypto_core_salsa20_inputbytes

abstract fun crypto_core_salsa20_inputbytes(): Long

crypto_core_salsa20_keybytes

abstract fun crypto_core_salsa20_keybytes(): Long

crypto_core_salsa20_outputbytes

abstract fun crypto_core_salsa20_outputbytes(): Long

crypto_generichash

abstract fun crypto_generichash(out: Pointer!, outlen: Long, in: Pointer!, inlen: Long, key: Pointer!, keylen: Long): Int

crypto_generichash_blake2b

abstract fun crypto_generichash_blake2b(out: ByteArray!, outlen: Long, in: ByteArray!, inlen: Long, key: ByteArray!, keylen: Long): Int

crypto_generichash_blake2b_bytes

abstract fun crypto_generichash_blake2b_bytes(): Long

crypto_generichash_blake2b_bytes_max

abstract fun crypto_generichash_blake2b_bytes_max(): Long

crypto_generichash_blake2b_bytes_min

abstract fun crypto_generichash_blake2b_bytes_min(): Long

crypto_generichash_blake2b_final

abstract fun crypto_generichash_blake2b_final(state: Pointer!, out: ByteArray!, outlen: Long): Int

crypto_generichash_blake2b_init

abstract fun crypto_generichash_blake2b_init(state: Pointer!, key: ByteArray!, keylen: Long, outlen: Long): Int

crypto_generichash_blake2b_init_salt_personal

abstract fun crypto_generichash_blake2b_init_salt_personal(state: Pointer!, key: ByteArray!, keylen: Long, outlen: Long, salt: ByteArray!, personal: ByteArray!): Int

crypto_generichash_blake2b_keybytes

abstract fun crypto_generichash_blake2b_keybytes(): Long

crypto_generichash_blake2b_keybytes_max

abstract fun crypto_generichash_blake2b_keybytes_max(): Long

crypto_generichash_blake2b_keybytes_min

abstract fun crypto_generichash_blake2b_keybytes_min(): Long

crypto_generichash_blake2b_keygen

abstract fun crypto_generichash_blake2b_keygen(k: ByteArray!): Unit

crypto_generichash_blake2b_personalbytes

abstract fun crypto_generichash_blake2b_personalbytes(): Long

crypto_generichash_blake2b_salt_personal

abstract fun crypto_generichash_blake2b_salt_personal(out: ByteArray!, outlen: Long, in: ByteArray!, inlen: Long, key: ByteArray!, keylen: Long, salt: ByteArray!, personal: ByteArray!): Int

crypto_generichash_blake2b_saltbytes

abstract fun crypto_generichash_blake2b_saltbytes(): Long

crypto_generichash_blake2b_statebytes

abstract fun crypto_generichash_blake2b_statebytes(): Long

crypto_generichash_blake2b_update

abstract fun crypto_generichash_blake2b_update(state: Pointer!, in: ByteArray!, inlen: Long): Int

crypto_generichash_bytes

abstract fun crypto_generichash_bytes(): Long

crypto_generichash_bytes_max

abstract fun crypto_generichash_bytes_max(): Long

crypto_generichash_bytes_min

abstract fun crypto_generichash_bytes_min(): Long

crypto_generichash_final

abstract fun crypto_generichash_final(state: Pointer!, out: ByteArray!, outlen: Long): Int

crypto_generichash_init

abstract fun crypto_generichash_init(state: Pointer!, key: ByteArray!, keylen: Long, outlen: Long): Int

crypto_generichash_keybytes

abstract fun crypto_generichash_keybytes(): Long

crypto_generichash_keybytes_max

abstract fun crypto_generichash_keybytes_max(): Long

crypto_generichash_keybytes_min

abstract fun crypto_generichash_keybytes_min(): Long

crypto_generichash_keygen

abstract fun crypto_generichash_keygen(k: ByteArray!): Unit

crypto_generichash_primitive

abstract fun crypto_generichash_primitive(): String!

crypto_generichash_statebytes

abstract fun crypto_generichash_statebytes(): Long

crypto_generichash_update

abstract fun crypto_generichash_update(state: Pointer!, in: ByteArray!, inlen: Long): Int

crypto_hash

abstract fun crypto_hash(out: ByteArray!, in: ByteArray!, inlen: Long): Int

crypto_hash_bytes

abstract fun crypto_hash_bytes(): Long

crypto_hash_primitive

abstract fun crypto_hash_primitive(): String!

crypto_hash_sha256

abstract fun crypto_hash_sha256(out: ByteArray!, in: ByteArray!, inlen: Long): Int
abstract fun crypto_hash_sha256(out: Pointer!, in: Pointer!, inlen: Long): Int

crypto_hash_sha256_bytes

abstract fun crypto_hash_sha256_bytes(): Long

crypto_hash_sha256_final

abstract fun crypto_hash_sha256_final(state: Pointer!, out: ByteArray!): Int

crypto_hash_sha256_init

abstract fun crypto_hash_sha256_init(state: Pointer!): Int

crypto_hash_sha256_statebytes

abstract fun crypto_hash_sha256_statebytes(): Long

crypto_hash_sha256_update

abstract fun crypto_hash_sha256_update(state: Pointer!, in: ByteArray!, inlen: Long): Int

crypto_hash_sha512

abstract fun crypto_hash_sha512(out: ByteArray!, in: ByteArray!, inlen: Long): Int

crypto_hash_sha512_bytes

abstract fun crypto_hash_sha512_bytes(): Long

crypto_hash_sha512_final

abstract fun crypto_hash_sha512_final(state: Pointer!, out: ByteArray!): Int

crypto_hash_sha512_init

abstract fun crypto_hash_sha512_init(state: Pointer!): Int

crypto_hash_sha512_statebytes

abstract fun crypto_hash_sha512_statebytes(): Long

crypto_hash_sha512_update

abstract fun crypto_hash_sha512_update(state: Pointer!, in: ByteArray!, inlen: Long): Int

crypto_kdf_blake2b_bytes_max

abstract fun crypto_kdf_blake2b_bytes_max(): Long

crypto_kdf_blake2b_bytes_min

abstract fun crypto_kdf_blake2b_bytes_min(): Long

crypto_kdf_blake2b_contextbytes

abstract fun crypto_kdf_blake2b_contextbytes(): Long

crypto_kdf_blake2b_derive_from_key

abstract fun crypto_kdf_blake2b_derive_from_key(subkey: ByteArray!, subkey_len: Long, subkey_id: Long, ctx: ByteArray!, key: Pointer!): Int

crypto_kdf_blake2b_keybytes

abstract fun crypto_kdf_blake2b_keybytes(): Long

crypto_kdf_bytes_max

abstract fun crypto_kdf_bytes_max(): Long

crypto_kdf_bytes_min

abstract fun crypto_kdf_bytes_min(): Long

crypto_kdf_contextbytes

abstract fun crypto_kdf_contextbytes(): Long

crypto_kdf_derive_from_key

abstract fun crypto_kdf_derive_from_key(subkey: ByteArray!, subkey_len: Long, subkey_id: Long, ctx: ByteArray!, key: Pointer!): Int

crypto_kdf_keybytes

abstract fun crypto_kdf_keybytes(): Long

crypto_kdf_keygen

abstract fun crypto_kdf_keygen(k: Pointer!): Unit

crypto_kdf_primitive

abstract fun crypto_kdf_primitive(): String!

crypto_kx_client_session_keys

abstract fun crypto_kx_client_session_keys(rx: Pointer!, tx: Pointer!, client_pk: Pointer!, client_sk: Pointer!, server_pk: Pointer!): Int

crypto_kx_keypair

abstract fun crypto_kx_keypair(pk: Pointer!, sk: Pointer!): Int

crypto_kx_primitive

abstract fun crypto_kx_primitive(): String!

crypto_kx_publickeybytes

abstract fun crypto_kx_publickeybytes(): Long

crypto_kx_secretkeybytes

abstract fun crypto_kx_secretkeybytes(): Long

crypto_kx_seed_keypair

abstract fun crypto_kx_seed_keypair(pk: Pointer!, sk: Pointer!, seed: Pointer!): Int

crypto_kx_seedbytes

abstract fun crypto_kx_seedbytes(): Long

crypto_kx_server_session_keys

abstract fun crypto_kx_server_session_keys(rx: Pointer!, tx: Pointer!, server_pk: Pointer!, server_sk: Pointer!, client_pk: Pointer!): Int

crypto_kx_sessionkeybytes

abstract fun crypto_kx_sessionkeybytes(): Long

crypto_onetimeauth

abstract fun crypto_onetimeauth(out: ByteArray!, in: ByteArray!, inlen: Long, k: ByteArray!): Int

crypto_onetimeauth_bytes

abstract fun crypto_onetimeauth_bytes(): Long

crypto_onetimeauth_final

abstract fun crypto_onetimeauth_final(state: Pointer!, out: ByteArray!): Int

crypto_onetimeauth_init

abstract fun crypto_onetimeauth_init(state: Pointer!, key: ByteArray!): Int

crypto_onetimeauth_keybytes

abstract fun crypto_onetimeauth_keybytes(): Long

crypto_onetimeauth_keygen

abstract fun crypto_onetimeauth_keygen(k: ByteArray!): Unit

crypto_onetimeauth_poly1305

abstract fun crypto_onetimeauth_poly1305(out: ByteArray!, in: ByteArray!, inlen: Long, k: ByteArray!): Int

crypto_onetimeauth_poly1305_bytes

abstract fun crypto_onetimeauth_poly1305_bytes(): Long

crypto_onetimeauth_poly1305_final

abstract fun crypto_onetimeauth_poly1305_final(state: Pointer!, out: ByteArray!): Int

crypto_onetimeauth_poly1305_init

abstract fun crypto_onetimeauth_poly1305_init(state: Pointer!, key: ByteArray!): Int

crypto_onetimeauth_poly1305_keybytes

abstract fun crypto_onetimeauth_poly1305_keybytes(): Long

crypto_onetimeauth_poly1305_keygen

abstract fun crypto_onetimeauth_poly1305_keygen(k: ByteArray!): Unit

crypto_onetimeauth_poly1305_statebytes

abstract fun crypto_onetimeauth_poly1305_statebytes(): Long

crypto_onetimeauth_poly1305_update

abstract fun crypto_onetimeauth_poly1305_update(state: Pointer!, in: ByteArray!, inlen: Long): Int

crypto_onetimeauth_poly1305_verify

abstract fun crypto_onetimeauth_poly1305_verify(h: ByteArray!, in: ByteArray!, inlen: Long, k: ByteArray!): Int

crypto_onetimeauth_primitive

abstract fun crypto_onetimeauth_primitive(): String!

crypto_onetimeauth_statebytes

abstract fun crypto_onetimeauth_statebytes(): Long

crypto_onetimeauth_update

abstract fun crypto_onetimeauth_update(state: Pointer!, in: ByteArray!, inlen: Long): Int

crypto_onetimeauth_verify

abstract fun crypto_onetimeauth_verify(h: ByteArray!, in: ByteArray!, inlen: Long, k: ByteArray!): Int

crypto_pwhash

abstract fun crypto_pwhash(out: ByteArray!, outlen: Long, passwd: ByteArray!, passwdlen: Long, salt: Pointer!, opslimit: Long, memlimit: Long, alg: Int): Int

crypto_pwhash_alg_argon2i13

abstract fun crypto_pwhash_alg_argon2i13(): Int

crypto_pwhash_alg_argon2id13

abstract fun crypto_pwhash_alg_argon2id13(): Int

crypto_pwhash_alg_default

abstract fun crypto_pwhash_alg_default(): Int

crypto_pwhash_argon2i

abstract fun crypto_pwhash_argon2i(out: ByteArray!, outlen: Long, passwd: ByteArray!, passwdlen: Long, salt: ByteArray!, opslimit: Long, memlimit: Long, alg: Int): Int

crypto_pwhash_argon2i_alg_argon2i13

abstract fun crypto_pwhash_argon2i_alg_argon2i13(): Int

crypto_pwhash_argon2i_bytes_max

abstract fun crypto_pwhash_argon2i_bytes_max(): Long

crypto_pwhash_argon2i_bytes_min

abstract fun crypto_pwhash_argon2i_bytes_min(): Long

crypto_pwhash_argon2i_memlimit_interactive

abstract fun crypto_pwhash_argon2i_memlimit_interactive(): Long

crypto_pwhash_argon2i_memlimit_max

abstract fun crypto_pwhash_argon2i_memlimit_max(): Long

crypto_pwhash_argon2i_memlimit_min

abstract fun crypto_pwhash_argon2i_memlimit_min(): Long

crypto_pwhash_argon2i_memlimit_moderate

abstract fun crypto_pwhash_argon2i_memlimit_moderate(): Long

crypto_pwhash_argon2i_memlimit_sensitive

abstract fun crypto_pwhash_argon2i_memlimit_sensitive(): Long

crypto_pwhash_argon2i_opslimit_interactive

abstract fun crypto_pwhash_argon2i_opslimit_interactive(): Long

crypto_pwhash_argon2i_opslimit_max

abstract fun crypto_pwhash_argon2i_opslimit_max(): Long

crypto_pwhash_argon2i_opslimit_min

abstract fun crypto_pwhash_argon2i_opslimit_min(): Long

crypto_pwhash_argon2i_opslimit_moderate

abstract fun crypto_pwhash_argon2i_opslimit_moderate(): Long

crypto_pwhash_argon2i_opslimit_sensitive

abstract fun crypto_pwhash_argon2i_opslimit_sensitive(): Long

crypto_pwhash_argon2i_passwd_max

abstract fun crypto_pwhash_argon2i_passwd_max(): Long

crypto_pwhash_argon2i_passwd_min

abstract fun crypto_pwhash_argon2i_passwd_min(): Long

crypto_pwhash_argon2i_saltbytes

abstract fun crypto_pwhash_argon2i_saltbytes(): Long

crypto_pwhash_argon2i_str

abstract fun crypto_pwhash_argon2i_str(out: ByteArray!, passwd: ByteArray!, passwdlen: Long, opslimit: Long, memlimit: Long): Int

crypto_pwhash_argon2i_str_needs_rehash

abstract fun crypto_pwhash_argon2i_str_needs_rehash(str: ByteArray!, opslimit: Long, memlimit: Long): Int

crypto_pwhash_argon2i_str_verify

abstract fun crypto_pwhash_argon2i_str_verify(str: ByteArray!, passwd: ByteArray!, passwdlen: Long): Int

crypto_pwhash_argon2i_strbytes

abstract fun crypto_pwhash_argon2i_strbytes(): Long

crypto_pwhash_argon2i_strprefix

abstract fun crypto_pwhash_argon2i_strprefix(): String!

crypto_pwhash_argon2id

abstract fun crypto_pwhash_argon2id(out: ByteArray!, outlen: Long, passwd: ByteArray!, passwdlen: Long, salt: ByteArray!, opslimit: Long, memlimit: Long, alg: Int): Int

crypto_pwhash_argon2id_alg_argon2id13

abstract fun crypto_pwhash_argon2id_alg_argon2id13(): Int

crypto_pwhash_argon2id_bytes_max

abstract fun crypto_pwhash_argon2id_bytes_max(): Long

crypto_pwhash_argon2id_bytes_min

abstract fun crypto_pwhash_argon2id_bytes_min(): Long

crypto_pwhash_argon2id_memlimit_interactive

abstract fun crypto_pwhash_argon2id_memlimit_interactive(): Long

crypto_pwhash_argon2id_memlimit_max

abstract fun crypto_pwhash_argon2id_memlimit_max(): Long

crypto_pwhash_argon2id_memlimit_min

abstract fun crypto_pwhash_argon2id_memlimit_min(): Long

crypto_pwhash_argon2id_memlimit_moderate

abstract fun crypto_pwhash_argon2id_memlimit_moderate(): Long

crypto_pwhash_argon2id_memlimit_sensitive

abstract fun crypto_pwhash_argon2id_memlimit_sensitive(): Long

crypto_pwhash_argon2id_opslimit_interactive

abstract fun crypto_pwhash_argon2id_opslimit_interactive(): Long

crypto_pwhash_argon2id_opslimit_max

abstract fun crypto_pwhash_argon2id_opslimit_max(): Long

crypto_pwhash_argon2id_opslimit_min

abstract fun crypto_pwhash_argon2id_opslimit_min(): Long

crypto_pwhash_argon2id_opslimit_moderate

abstract fun crypto_pwhash_argon2id_opslimit_moderate(): Long

crypto_pwhash_argon2id_opslimit_sensitive

abstract fun crypto_pwhash_argon2id_opslimit_sensitive(): Long

crypto_pwhash_argon2id_passwd_max

abstract fun crypto_pwhash_argon2id_passwd_max(): Long

crypto_pwhash_argon2id_passwd_min

abstract fun crypto_pwhash_argon2id_passwd_min(): Long

crypto_pwhash_argon2id_saltbytes

abstract fun crypto_pwhash_argon2id_saltbytes(): Long

crypto_pwhash_argon2id_str

abstract fun crypto_pwhash_argon2id_str(out: ByteArray!, passwd: ByteArray!, passwdlen: Long, opslimit: Long, memlimit: Long): Int

crypto_pwhash_argon2id_str_needs_rehash

abstract fun crypto_pwhash_argon2id_str_needs_rehash(str: ByteArray!, opslimit: Long, memlimit: Long): Int

crypto_pwhash_argon2id_str_verify

abstract fun crypto_pwhash_argon2id_str_verify(str: ByteArray!, passwd: ByteArray!, passwdlen: Long): Int

crypto_pwhash_argon2id_strbytes

abstract fun crypto_pwhash_argon2id_strbytes(): Long

crypto_pwhash_argon2id_strprefix

abstract fun crypto_pwhash_argon2id_strprefix(): String!

crypto_pwhash_bytes_max

abstract fun crypto_pwhash_bytes_max(): Long

crypto_pwhash_bytes_min

abstract fun crypto_pwhash_bytes_min(): Long

crypto_pwhash_memlimit_interactive

abstract fun crypto_pwhash_memlimit_interactive(): Long

crypto_pwhash_memlimit_max

abstract fun crypto_pwhash_memlimit_max(): Long

crypto_pwhash_memlimit_min

abstract fun crypto_pwhash_memlimit_min(): Long

crypto_pwhash_memlimit_moderate

abstract fun crypto_pwhash_memlimit_moderate(): Long

crypto_pwhash_memlimit_sensitive

abstract fun crypto_pwhash_memlimit_sensitive(): Long

crypto_pwhash_opslimit_interactive

abstract fun crypto_pwhash_opslimit_interactive(): Long

crypto_pwhash_opslimit_max

abstract fun crypto_pwhash_opslimit_max(): Long

crypto_pwhash_opslimit_min

abstract fun crypto_pwhash_opslimit_min(): Long

crypto_pwhash_opslimit_moderate

abstract fun crypto_pwhash_opslimit_moderate(): Long

crypto_pwhash_opslimit_sensitive

abstract fun crypto_pwhash_opslimit_sensitive(): Long

crypto_pwhash_passwd_max

abstract fun crypto_pwhash_passwd_max(): Long

crypto_pwhash_passwd_min

abstract fun crypto_pwhash_passwd_min(): Long

crypto_pwhash_primitive

abstract fun crypto_pwhash_primitive(): String!

crypto_pwhash_saltbytes

abstract fun crypto_pwhash_saltbytes(): Long

crypto_pwhash_scryptsalsa208sha256

abstract fun crypto_pwhash_scryptsalsa208sha256(out: ByteArray!, outlen: Long, passwd: ByteArray!, passwdlen: Long, salt: ByteArray!, opslimit: Long, memlimit: Long): Int

crypto_pwhash_scryptsalsa208sha256_bytes_max

abstract fun crypto_pwhash_scryptsalsa208sha256_bytes_max(): Long

crypto_pwhash_scryptsalsa208sha256_bytes_min

abstract fun crypto_pwhash_scryptsalsa208sha256_bytes_min(): Long

crypto_pwhash_scryptsalsa208sha256_ll

abstract fun crypto_pwhash_scryptsalsa208sha256_ll(passwd: ByteArray!, passwdlen: Long, salt: ByteArray!, saltlen: Long, N: Long, r: Int, p: Int, buf: ByteArray!, buflen: Long): Int

crypto_pwhash_scryptsalsa208sha256_memlimit_interactive

abstract fun crypto_pwhash_scryptsalsa208sha256_memlimit_interactive(): Long

crypto_pwhash_scryptsalsa208sha256_memlimit_max

abstract fun crypto_pwhash_scryptsalsa208sha256_memlimit_max(): Long

crypto_pwhash_scryptsalsa208sha256_memlimit_min

abstract fun crypto_pwhash_scryptsalsa208sha256_memlimit_min(): Long

crypto_pwhash_scryptsalsa208sha256_memlimit_sensitive

abstract fun crypto_pwhash_scryptsalsa208sha256_memlimit_sensitive(): Long

crypto_pwhash_scryptsalsa208sha256_opslimit_interactive

abstract fun crypto_pwhash_scryptsalsa208sha256_opslimit_interactive(): Long

crypto_pwhash_scryptsalsa208sha256_opslimit_max

abstract fun crypto_pwhash_scryptsalsa208sha256_opslimit_max(): Long

crypto_pwhash_scryptsalsa208sha256_opslimit_min

abstract fun crypto_pwhash_scryptsalsa208sha256_opslimit_min(): Long

crypto_pwhash_scryptsalsa208sha256_opslimit_sensitive

abstract fun crypto_pwhash_scryptsalsa208sha256_opslimit_sensitive(): Long

crypto_pwhash_scryptsalsa208sha256_passwd_max

abstract fun crypto_pwhash_scryptsalsa208sha256_passwd_max(): Long

crypto_pwhash_scryptsalsa208sha256_passwd_min

abstract fun crypto_pwhash_scryptsalsa208sha256_passwd_min(): Long

crypto_pwhash_scryptsalsa208sha256_saltbytes

abstract fun crypto_pwhash_scryptsalsa208sha256_saltbytes(): Long

crypto_pwhash_scryptsalsa208sha256_str

abstract fun crypto_pwhash_scryptsalsa208sha256_str(out: ByteArray!, passwd: ByteArray!, passwdlen: Long, opslimit: Long, memlimit: Long): Int

crypto_pwhash_scryptsalsa208sha256_str_needs_rehash

abstract fun crypto_pwhash_scryptsalsa208sha256_str_needs_rehash(str: ByteArray!, opslimit: Long, memlimit: Long): Int

crypto_pwhash_scryptsalsa208sha256_str_verify

abstract fun crypto_pwhash_scryptsalsa208sha256_str_verify(str: ByteArray!, passwd: ByteArray!, passwdlen: Long): Int

crypto_pwhash_scryptsalsa208sha256_strbytes

abstract fun crypto_pwhash_scryptsalsa208sha256_strbytes(): Long

crypto_pwhash_scryptsalsa208sha256_strprefix

abstract fun crypto_pwhash_scryptsalsa208sha256_strprefix(): String!

crypto_pwhash_str

abstract fun crypto_pwhash_str(out: ByteArray!, passwd: ByteArray!, passwdlen: Long, opslimit: Long, memlimit: Long): Int

crypto_pwhash_str_alg

abstract fun crypto_pwhash_str_alg(out: ByteArray!, passwd: ByteArray!, passwdlen: Long, opslimit: Long, memlimit: Long, alg: Int): Int

crypto_pwhash_str_needs_rehash

abstract fun crypto_pwhash_str_needs_rehash(str: Pointer!, opslimit: Long, memlimit: Long): Int

crypto_pwhash_str_verify

abstract fun crypto_pwhash_str_verify(str: Pointer!, passwd: ByteArray!, passwdlen: Long): Int

crypto_pwhash_strbytes

abstract fun crypto_pwhash_strbytes(): Long

crypto_pwhash_strprefix

abstract fun crypto_pwhash_strprefix(): String!

crypto_scalarmult

abstract fun crypto_scalarmult(q: Pointer!, n: Pointer!, p: Pointer!): Int

crypto_scalarmult_base

abstract fun crypto_scalarmult_base(q: Pointer!, n: Pointer!): Int

crypto_scalarmult_bytes

abstract fun crypto_scalarmult_bytes(): Long

crypto_scalarmult_curve25519

abstract fun crypto_scalarmult_curve25519(q: ByteArray!, n: ByteArray!, p: ByteArray!): Int

crypto_scalarmult_curve25519_base

abstract fun crypto_scalarmult_curve25519_base(q: ByteArray!, n: ByteArray!): Int

crypto_scalarmult_curve25519_bytes

abstract fun crypto_scalarmult_curve25519_bytes(): Long

crypto_scalarmult_curve25519_scalarbytes

abstract fun crypto_scalarmult_curve25519_scalarbytes(): Long

crypto_scalarmult_ed25519

abstract fun crypto_scalarmult_ed25519(q: ByteArray!, n: ByteArray!, p: ByteArray!): Int

crypto_scalarmult_ed25519_base

abstract fun crypto_scalarmult_ed25519_base(q: ByteArray!, n: ByteArray!): Int

crypto_scalarmult_ed25519_base_noclamp

abstract fun crypto_scalarmult_ed25519_base_noclamp(q: ByteArray!, n: ByteArray!): Int

crypto_scalarmult_ed25519_bytes

abstract fun crypto_scalarmult_ed25519_bytes(): Long

crypto_scalarmult_ed25519_noclamp

abstract fun crypto_scalarmult_ed25519_noclamp(q: ByteArray!, n: ByteArray!, p: ByteArray!): Int

crypto_scalarmult_ed25519_scalarbytes

abstract fun crypto_scalarmult_ed25519_scalarbytes(): Long

crypto_scalarmult_primitive

abstract fun crypto_scalarmult_primitive(): String!

crypto_scalarmult_ristretto255

abstract fun crypto_scalarmult_ristretto255(q: ByteArray!, n: ByteArray!, p: ByteArray!): Int

crypto_scalarmult_ristretto255_base

abstract fun crypto_scalarmult_ristretto255_base(q: ByteArray!, n: ByteArray!): Int

crypto_scalarmult_ristretto255_bytes

abstract fun crypto_scalarmult_ristretto255_bytes(): Long

crypto_scalarmult_ristretto255_scalarbytes

abstract fun crypto_scalarmult_ristretto255_scalarbytes(): Long

crypto_scalarmult_scalarbytes

abstract fun crypto_scalarmult_scalarbytes(): Long

crypto_secretbox

abstract fun crypto_secretbox(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_secretbox_boxzerobytes

abstract fun crypto_secretbox_boxzerobytes(): Long

crypto_secretbox_detached

abstract fun crypto_secretbox_detached(c: ByteArray!, mac: ByteArray!, m: ByteArray!, mlen: Long, n: Pointer!, k: Pointer!): Int

crypto_secretbox_easy

abstract fun crypto_secretbox_easy(c: Pointer!, m: Pointer!, mlen: Long, n: Pointer!, k: Pointer!): Int
abstract fun crypto_secretbox_easy(c: ByteArray!, m: ByteArray!, mlen: Long, n: Pointer!, k: Pointer!): Int

crypto_secretbox_keybytes

abstract fun crypto_secretbox_keybytes(): Long

crypto_secretbox_keygen

abstract fun crypto_secretbox_keygen(k: Pointer!): Unit

crypto_secretbox_macbytes

abstract fun crypto_secretbox_macbytes(): Long

crypto_secretbox_messagebytes_max

abstract fun crypto_secretbox_messagebytes_max(): Long

crypto_secretbox_noncebytes

abstract fun crypto_secretbox_noncebytes(): Long

crypto_secretbox_open

abstract fun crypto_secretbox_open(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_secretbox_open_detached

abstract fun crypto_secretbox_open_detached(m: ByteArray!, c: ByteArray!, mac: ByteArray!, clen: Long, n: Pointer!, k: Pointer!): Int

crypto_secretbox_open_easy

abstract fun crypto_secretbox_open_easy(m: ByteArray!, c: ByteArray!, clen: Long, n: Pointer!, k: Pointer!): Int
abstract fun crypto_secretbox_open_easy(m: Pointer!, c: Pointer!, clen: Long, n: Pointer!, k: Pointer!): Int

crypto_secretbox_primitive

abstract fun crypto_secretbox_primitive(): String!

crypto_secretbox_xchacha20poly1305_detached

abstract fun crypto_secretbox_xchacha20poly1305_detached(c: ByteArray!, mac: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_secretbox_xchacha20poly1305_easy

abstract fun crypto_secretbox_xchacha20poly1305_easy(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_secretbox_xchacha20poly1305_keybytes

abstract fun crypto_secretbox_xchacha20poly1305_keybytes(): Long

crypto_secretbox_xchacha20poly1305_macbytes

abstract fun crypto_secretbox_xchacha20poly1305_macbytes(): Long

crypto_secretbox_xchacha20poly1305_messagebytes_max

abstract fun crypto_secretbox_xchacha20poly1305_messagebytes_max(): Long

crypto_secretbox_xchacha20poly1305_noncebytes

abstract fun crypto_secretbox_xchacha20poly1305_noncebytes(): Long

crypto_secretbox_xchacha20poly1305_open_detached

abstract fun crypto_secretbox_xchacha20poly1305_open_detached(m: ByteArray!, c: ByteArray!, mac: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_secretbox_xchacha20poly1305_open_easy

abstract fun crypto_secretbox_xchacha20poly1305_open_easy(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_secretbox_xsalsa20poly1305

abstract fun crypto_secretbox_xsalsa20poly1305(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_secretbox_xsalsa20poly1305_boxzerobytes

abstract fun crypto_secretbox_xsalsa20poly1305_boxzerobytes(): Long

crypto_secretbox_xsalsa20poly1305_keybytes

abstract fun crypto_secretbox_xsalsa20poly1305_keybytes(): Long

crypto_secretbox_xsalsa20poly1305_keygen

abstract fun crypto_secretbox_xsalsa20poly1305_keygen(k: ByteArray!): Unit

crypto_secretbox_xsalsa20poly1305_macbytes

abstract fun crypto_secretbox_xsalsa20poly1305_macbytes(): Long

crypto_secretbox_xsalsa20poly1305_messagebytes_max

abstract fun crypto_secretbox_xsalsa20poly1305_messagebytes_max(): Long

crypto_secretbox_xsalsa20poly1305_noncebytes

abstract fun crypto_secretbox_xsalsa20poly1305_noncebytes(): Long

crypto_secretbox_xsalsa20poly1305_open

abstract fun crypto_secretbox_xsalsa20poly1305_open(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_secretbox_xsalsa20poly1305_zerobytes

abstract fun crypto_secretbox_xsalsa20poly1305_zerobytes(): Long

crypto_secretbox_zerobytes

abstract fun crypto_secretbox_zerobytes(): Long

crypto_secretstream_xchacha20poly1305_abytes

abstract fun crypto_secretstream_xchacha20poly1305_abytes(): Long

crypto_secretstream_xchacha20poly1305_headerbytes

abstract fun crypto_secretstream_xchacha20poly1305_headerbytes(): Long

crypto_secretstream_xchacha20poly1305_init_pull

abstract fun crypto_secretstream_xchacha20poly1305_init_pull(state: Pointer!, header: ByteArray!, k: Pointer!): Int

crypto_secretstream_xchacha20poly1305_init_push

abstract fun crypto_secretstream_xchacha20poly1305_init_push(state: Pointer!, header: ByteArray!, k: Pointer!): Int

crypto_secretstream_xchacha20poly1305_keybytes

abstract fun crypto_secretstream_xchacha20poly1305_keybytes(): Long

crypto_secretstream_xchacha20poly1305_keygen

abstract fun crypto_secretstream_xchacha20poly1305_keygen(k: Pointer!): Unit

crypto_secretstream_xchacha20poly1305_messagebytes_max

abstract fun crypto_secretstream_xchacha20poly1305_messagebytes_max(): Long

crypto_secretstream_xchacha20poly1305_pull

abstract fun crypto_secretstream_xchacha20poly1305_pull(state: Pointer!, m: ByteArray!, mlen_p: LongLongByReference!, tag_p: ByteByReference!, c: ByteArray!, clen: Long, ad: ByteArray!, adlen: Long): Int

crypto_secretstream_xchacha20poly1305_push

abstract fun crypto_secretstream_xchacha20poly1305_push(state: Pointer!, c: ByteArray!, clen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, tag: Byte): Int

crypto_secretstream_xchacha20poly1305_rekey

abstract fun crypto_secretstream_xchacha20poly1305_rekey(state: Pointer!): Unit

crypto_secretstream_xchacha20poly1305_statebytes

abstract fun crypto_secretstream_xchacha20poly1305_statebytes(): Long

crypto_secretstream_xchacha20poly1305_tag_final

abstract fun crypto_secretstream_xchacha20poly1305_tag_final(): Char

crypto_secretstream_xchacha20poly1305_tag_message

abstract fun crypto_secretstream_xchacha20poly1305_tag_message(): Char

crypto_secretstream_xchacha20poly1305_tag_push

abstract fun crypto_secretstream_xchacha20poly1305_tag_push(): Char

crypto_secretstream_xchacha20poly1305_tag_rekey

abstract fun crypto_secretstream_xchacha20poly1305_tag_rekey(): Char

crypto_shorthash

abstract fun crypto_shorthash(out: ByteArray!, in: ByteArray!, inlen: Long, k: ByteArray!): Int

crypto_shorthash_bytes

abstract fun crypto_shorthash_bytes(): Long

crypto_shorthash_keybytes

abstract fun crypto_shorthash_keybytes(): Long

crypto_shorthash_keygen

abstract fun crypto_shorthash_keygen(k: ByteArray!): Unit

crypto_shorthash_primitive

abstract fun crypto_shorthash_primitive(): String!

crypto_shorthash_siphash24

abstract fun crypto_shorthash_siphash24(out: ByteArray!, in: ByteArray!, inlen: Long, k: ByteArray!): Int

crypto_shorthash_siphash24_bytes

abstract fun crypto_shorthash_siphash24_bytes(): Long

crypto_shorthash_siphash24_keybytes

abstract fun crypto_shorthash_siphash24_keybytes(): Long

crypto_shorthash_siphashx24

abstract fun crypto_shorthash_siphashx24(out: ByteArray!, in: ByteArray!, inlen: Long, k: ByteArray!): Int

crypto_shorthash_siphashx24_bytes

abstract fun crypto_shorthash_siphashx24_bytes(): Long

crypto_shorthash_siphashx24_keybytes

abstract fun crypto_shorthash_siphashx24_keybytes(): Long

crypto_sign

abstract fun crypto_sign(sm: ByteArray!, smlen_p: LongLongByReference?, m: ByteArray!, mlen: Long, sk: Pointer!): Int

crypto_sign_bytes

abstract fun crypto_sign_bytes(): Long

crypto_sign_detached

abstract fun crypto_sign_detached(sig: ByteArray!, siglen_p: LongLongByReference?, m: ByteArray!, mlen: Long, sk: Pointer!): Int
abstract fun crypto_sign_detached(sig: Pointer!, siglen_p: LongLongByReference?, m: Pointer!, mlen: Long, sk: Pointer!): Int

crypto_sign_ed25519

abstract fun crypto_sign_ed25519(sm: ByteArray!, smlen_p: LongLongByReference!, m: ByteArray!, mlen: Long, sk: ByteArray!): Int

crypto_sign_ed25519_bytes

abstract fun crypto_sign_ed25519_bytes(): Long

crypto_sign_ed25519_detached

abstract fun crypto_sign_ed25519_detached(sig: ByteArray!, siglen_p: LongLongByReference!, m: ByteArray!, mlen: Long, sk: ByteArray!): Int

crypto_sign_ed25519_keypair

abstract fun crypto_sign_ed25519_keypair(pk: ByteArray!, sk: ByteArray!): Int

crypto_sign_ed25519_messagebytes_max

abstract fun crypto_sign_ed25519_messagebytes_max(): Long

crypto_sign_ed25519_open

abstract fun crypto_sign_ed25519_open(m: ByteArray!, mlen_p: LongLongByReference!, sm: ByteArray!, smlen: Long, pk: ByteArray!): Int

crypto_sign_ed25519_pk_to_curve25519

abstract fun crypto_sign_ed25519_pk_to_curve25519(curve25519_pk: Pointer!, ed25519_pk: Pointer!): Int

crypto_sign_ed25519_publickeybytes

abstract fun crypto_sign_ed25519_publickeybytes(): Long

crypto_sign_ed25519_secretkeybytes

abstract fun crypto_sign_ed25519_secretkeybytes(): Long

crypto_sign_ed25519_seed_keypair

abstract fun crypto_sign_ed25519_seed_keypair(pk: ByteArray!, sk: ByteArray!, seed: ByteArray!): Int

crypto_sign_ed25519_seedbytes

abstract fun crypto_sign_ed25519_seedbytes(): Long

crypto_sign_ed25519_sk_to_curve25519

abstract fun crypto_sign_ed25519_sk_to_curve25519(curve25519_sk: Pointer!, ed25519_sk: Pointer!): Int

crypto_sign_ed25519_sk_to_pk

abstract fun crypto_sign_ed25519_sk_to_pk(pk: Pointer!, sk: Pointer!): Int

crypto_sign_ed25519_sk_to_seed

abstract fun crypto_sign_ed25519_sk_to_seed(seed: ByteArray!, sk: ByteArray!): Int

crypto_sign_ed25519_verify_detached

abstract fun crypto_sign_ed25519_verify_detached(sig: ByteArray!, m: ByteArray!, mlen: Long, pk: ByteArray!): Int

crypto_sign_ed25519ph_final_create

abstract fun crypto_sign_ed25519ph_final_create(state: Pointer!, sig: ByteArray!, siglen_p: LongLongByReference!, sk: ByteArray!): Int

crypto_sign_ed25519ph_final_verify

abstract fun crypto_sign_ed25519ph_final_verify(state: Pointer!, sig: ByteArray!, pk: ByteArray!): Int

crypto_sign_ed25519ph_init

abstract fun crypto_sign_ed25519ph_init(state: Pointer!): Int

crypto_sign_ed25519ph_statebytes

abstract fun crypto_sign_ed25519ph_statebytes(): Long

crypto_sign_ed25519ph_update

abstract fun crypto_sign_ed25519ph_update(state: Pointer!, m: ByteArray!, mlen: Long): Int

crypto_sign_final_create

abstract fun crypto_sign_final_create(state: Pointer!, sig: ByteArray!, siglen_p: LongLongByReference!, sk: ByteArray!): Int

crypto_sign_final_verify

abstract fun crypto_sign_final_verify(state: Pointer!, sig: ByteArray!, pk: ByteArray!): Int

crypto_sign_init

abstract fun crypto_sign_init(state: Pointer!): Int

crypto_sign_keypair

abstract fun crypto_sign_keypair(pk: Pointer!, sk: Pointer!): Int

crypto_sign_messagebytes_max

abstract fun crypto_sign_messagebytes_max(): Long

crypto_sign_open

abstract fun crypto_sign_open(m: ByteArray!, mlen_p: LongLongByReference!, sm: ByteArray!, smlen: Long, pk: Pointer!): Int

crypto_sign_primitive

abstract fun crypto_sign_primitive(): String!

crypto_sign_publickeybytes

abstract fun crypto_sign_publickeybytes(): Long

crypto_sign_secretkeybytes

abstract fun crypto_sign_secretkeybytes(): Long

crypto_sign_seed_keypair

abstract fun crypto_sign_seed_keypair(pk: Pointer!, sk: Pointer!, seed: Pointer!): Int

crypto_sign_seedbytes

abstract fun crypto_sign_seedbytes(): Long

crypto_sign_statebytes

abstract fun crypto_sign_statebytes(): Long

crypto_sign_update

abstract fun crypto_sign_update(state: Pointer!, m: ByteArray!, mlen: Long): Int

crypto_sign_verify_detached

abstract fun crypto_sign_verify_detached(sig: Pointer!, m: Pointer!, mlen: Long, pk: Pointer!): Int
abstract fun crypto_sign_verify_detached(sig: ByteArray!, m: ByteArray!, mlen: Long, pk: Pointer!): Int

crypto_stream

abstract fun crypto_stream(c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_stream_chacha20

abstract fun crypto_stream_chacha20(c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_stream_chacha20_ietf

abstract fun crypto_stream_chacha20_ietf(c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_stream_chacha20_ietf_keybytes

abstract fun crypto_stream_chacha20_ietf_keybytes(): Long

crypto_stream_chacha20_ietf_keygen

abstract fun crypto_stream_chacha20_ietf_keygen(k: ByteArray!): Unit

crypto_stream_chacha20_ietf_messagebytes_max

abstract fun crypto_stream_chacha20_ietf_messagebytes_max(): Long

crypto_stream_chacha20_ietf_noncebytes

abstract fun crypto_stream_chacha20_ietf_noncebytes(): Long

crypto_stream_chacha20_ietf_xor

abstract fun crypto_stream_chacha20_ietf_xor(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_stream_chacha20_ietf_xor_ic

abstract fun crypto_stream_chacha20_ietf_xor_ic(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, ic: Int, k: ByteArray!): Int

crypto_stream_chacha20_keybytes

abstract fun crypto_stream_chacha20_keybytes(): Long

crypto_stream_chacha20_keygen

abstract fun crypto_stream_chacha20_keygen(k: ByteArray!): Unit

crypto_stream_chacha20_messagebytes_max

abstract fun crypto_stream_chacha20_messagebytes_max(): Long

crypto_stream_chacha20_noncebytes

abstract fun crypto_stream_chacha20_noncebytes(): Long

crypto_stream_chacha20_xor

abstract fun crypto_stream_chacha20_xor(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_stream_chacha20_xor_ic

abstract fun crypto_stream_chacha20_xor_ic(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, ic: Long, k: ByteArray!): Int

crypto_stream_keybytes

abstract fun crypto_stream_keybytes(): Long

crypto_stream_keygen

abstract fun crypto_stream_keygen(k: ByteArray!): Unit

crypto_stream_messagebytes_max

abstract fun crypto_stream_messagebytes_max(): Long

crypto_stream_noncebytes

abstract fun crypto_stream_noncebytes(): Long

crypto_stream_primitive

abstract fun crypto_stream_primitive(): String!

crypto_stream_salsa20

abstract fun crypto_stream_salsa20(c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_stream_salsa2012

abstract fun crypto_stream_salsa2012(c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_stream_salsa2012_keybytes

abstract fun crypto_stream_salsa2012_keybytes(): Long

crypto_stream_salsa2012_keygen

abstract fun crypto_stream_salsa2012_keygen(k: ByteArray!): Unit

crypto_stream_salsa2012_messagebytes_max

abstract fun crypto_stream_salsa2012_messagebytes_max(): Long

crypto_stream_salsa2012_noncebytes

abstract fun crypto_stream_salsa2012_noncebytes(): Long

crypto_stream_salsa2012_xor

abstract fun crypto_stream_salsa2012_xor(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_stream_salsa208

abstract fun crypto_stream_salsa208(c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_stream_salsa208_keybytes

abstract fun crypto_stream_salsa208_keybytes(): Long

crypto_stream_salsa208_keygen

abstract fun crypto_stream_salsa208_keygen(k: ByteArray!): Unit

crypto_stream_salsa208_messagebytes_max

abstract fun crypto_stream_salsa208_messagebytes_max(): Long

crypto_stream_salsa208_noncebytes

abstract fun crypto_stream_salsa208_noncebytes(): Long

crypto_stream_salsa208_xor

abstract fun crypto_stream_salsa208_xor(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_stream_salsa20_keybytes

abstract fun crypto_stream_salsa20_keybytes(): Long

crypto_stream_salsa20_keygen

abstract fun crypto_stream_salsa20_keygen(k: ByteArray!): Unit

crypto_stream_salsa20_messagebytes_max

abstract fun crypto_stream_salsa20_messagebytes_max(): Long

crypto_stream_salsa20_noncebytes

abstract fun crypto_stream_salsa20_noncebytes(): Long

crypto_stream_salsa20_xor

abstract fun crypto_stream_salsa20_xor(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_stream_salsa20_xor_ic

abstract fun crypto_stream_salsa20_xor_ic(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, ic: Long, k: ByteArray!): Int

crypto_stream_xchacha20

abstract fun crypto_stream_xchacha20(c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_stream_xchacha20_keybytes

abstract fun crypto_stream_xchacha20_keybytes(): Long

crypto_stream_xchacha20_keygen

abstract fun crypto_stream_xchacha20_keygen(k: ByteArray!): Unit

crypto_stream_xchacha20_messagebytes_max

abstract fun crypto_stream_xchacha20_messagebytes_max(): Long

crypto_stream_xchacha20_noncebytes

abstract fun crypto_stream_xchacha20_noncebytes(): Long

crypto_stream_xchacha20_xor

abstract fun crypto_stream_xchacha20_xor(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_stream_xchacha20_xor_ic

abstract fun crypto_stream_xchacha20_xor_ic(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, ic: Long, k: ByteArray!): Int

crypto_stream_xor

abstract fun crypto_stream_xor(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_stream_xsalsa20

abstract fun crypto_stream_xsalsa20(c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_stream_xsalsa20_keybytes

abstract fun crypto_stream_xsalsa20_keybytes(): Long

crypto_stream_xsalsa20_keygen

abstract fun crypto_stream_xsalsa20_keygen(k: ByteArray!): Unit

crypto_stream_xsalsa20_messagebytes_max

abstract fun crypto_stream_xsalsa20_messagebytes_max(): Long

crypto_stream_xsalsa20_noncebytes

abstract fun crypto_stream_xsalsa20_noncebytes(): Long

crypto_stream_xsalsa20_xor

abstract fun crypto_stream_xsalsa20_xor(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int

crypto_stream_xsalsa20_xor_ic

abstract fun crypto_stream_xsalsa20_xor_ic(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, ic: Long, k: ByteArray!): Int

crypto_verify_16

abstract fun crypto_verify_16(x: ByteArray!, y: ByteArray!): Int

crypto_verify_16_bytes

abstract fun crypto_verify_16_bytes(): Long

crypto_verify_32

abstract fun crypto_verify_32(x: ByteArray!, y: ByteArray!): Int

crypto_verify_32_bytes

abstract fun crypto_verify_32_bytes(): Long

crypto_verify_64

abstract fun crypto_verify_64(x: ByteArray!, y: ByteArray!): Int

crypto_verify_64_bytes

abstract fun crypto_verify_64_bytes(): Long

implementation_name

abstract fun implementation_name(): String!

random

abstract fun random(): Int

randombytes

abstract fun randombytes(buf: ByteArray!, buf_len: Long): Unit

randombytes_buf

abstract fun randombytes_buf(buf: Pointer!, size: Long): Unit

randombytes_buf_deterministic

abstract fun randombytes_buf_deterministic(buf: ByteArray!, size: Long, seed: ByteArray!): Unit

randombytes_close

abstract fun randombytes_close(): Int

randombytes_implementation_name

abstract fun randombytes_implementation_name(): String!

randombytes_random

abstract fun randombytes_random(): Int

randombytes_seedbytes

abstract fun randombytes_seedbytes(): Long

randombytes_set_implementation

abstract fun randombytes_set_implementation(impl: Pointer!): Int

randombytes_stir

abstract fun randombytes_stir(): Unit

randombytes_uniform

abstract fun randombytes_uniform(upper_bound: Int): Int

sodium_add

abstract fun sodium_add(a: Pointer!, b: Pointer!, len: Long): Unit

sodium_allocarray

abstract fun sodium_allocarray(count: Long, size: Long): Pointer!

sodium_base642bin

abstract fun sodium_base642bin(bin: ByteArray!, bin_maxlen: Long, b64: ByteArray!, b64_len: Long, ignore: ByteArray!, bin_len: LongLongByReference!, b64_end: Pointer!, variant: Int): Int

sodium_base64_encoded_len

abstract fun sodium_base64_encoded_len(bin_len: Long, variant: Int): Long

sodium_compare

abstract fun sodium_compare(b1_: Pointer!, b2_: Pointer!, len: Long): Int

sodium_free

abstract fun sodium_free(ptr: Pointer!): Unit

sodium_hex2bin

abstract fun sodium_hex2bin(bin: ByteArray!, bin_maxlen: Long, hex: ByteArray!, hex_len: Long, ignore: ByteArray!, bin_len: LongLongByReference!, hex_end: Pointer!): Int

sodium_increment

abstract fun sodium_increment(n: Pointer!, nlen: Long): Unit

sodium_init

abstract fun sodium_init(): Int

sodium_is_zero

abstract fun sodium_is_zero(n: Pointer!, nlen: Long): Int

sodium_library_minimal

abstract fun sodium_library_minimal(): Int

sodium_library_version_major

abstract fun sodium_library_version_major(): Int

sodium_library_version_minor

abstract fun sodium_library_version_minor(): Int

sodium_malloc

abstract fun sodium_malloc(size: Long): Pointer!

sodium_memcmp

abstract fun sodium_memcmp(b1_: Pointer!, b2_: Pointer!, len: Long): Int

sodium_memzero

abstract fun sodium_memzero(pnt: Pointer!, len: Long): Unit

sodium_misuse

abstract fun sodium_misuse(): Unit

sodium_mlock

abstract fun sodium_mlock(addr: Pointer!, len: Long): Int

sodium_mprotect_noaccess

abstract fun sodium_mprotect_noaccess(ptr: Pointer!): Int

sodium_mprotect_readonly

abstract fun sodium_mprotect_readonly(ptr: Pointer!): Int

sodium_mprotect_readwrite

abstract fun sodium_mprotect_readwrite(ptr: Pointer!): Int

sodium_munlock

abstract fun sodium_munlock(addr: Pointer!, len: Long): Int

sodium_pad

abstract fun sodium_pad(padded_buflen_p: LongLongByReference!, buf: ByteArray!, unpadded_buflen: Long, blocksize: Long, max_buflen: Long): Int

sodium_runtime_has_aesni

abstract fun sodium_runtime_has_aesni(): Int

sodium_runtime_has_avx

abstract fun sodium_runtime_has_avx(): Int

sodium_runtime_has_avx2

abstract fun sodium_runtime_has_avx2(): Int

sodium_runtime_has_avx512f

abstract fun sodium_runtime_has_avx512f(): Int

sodium_runtime_has_neon

abstract fun sodium_runtime_has_neon(): Int

sodium_runtime_has_pclmul

abstract fun sodium_runtime_has_pclmul(): Int

sodium_runtime_has_rdrand

abstract fun sodium_runtime_has_rdrand(): Int

sodium_runtime_has_sse2

abstract fun sodium_runtime_has_sse2(): Int

sodium_runtime_has_sse3

abstract fun sodium_runtime_has_sse3(): Int

sodium_runtime_has_sse41

abstract fun sodium_runtime_has_sse41(): Int

sodium_runtime_has_ssse3

abstract fun sodium_runtime_has_ssse3(): Int

sodium_set_misuse_handler

abstract fun sodium_set_misuse_handler(handler: Pointer!): Int

sodium_stackzero

abstract fun sodium_stackzero(len: Long): Unit

sodium_sub

abstract fun sodium_sub(a: ByteArray!, b: ByteArray!, len: Long): Unit

sodium_unpad

abstract fun sodium_unpad(unpadded_buflen_p: LongLongByReference!, buf: ByteArray!, padded_buflen: Long, blocksize: Long): Int

sodium_version_string

abstract fun sodium_version_string(): String!

stir

abstract fun stir(): Unit

uniform

abstract fun uniform(upper_bound: Int): Int