declare namespace org {
export namespace kaliumjni {
export namespace lib {
export class BuildConfig {
public static DEBUG: boolean;
public static APPLICATION_ID: string;
public static BUILD_TYPE: string;
public static FLAVOR: string;
public static VERSION_CODE: number;
public static VERSION_NAME: string;
public constructor();
}
}
}
}
///
declare namespace org {
export namespace libsodium {
export namespace jni {
export class NaCl {
public static sodium(): org.libsodium.jni.Sodium;
}
export namespace NaCl {
export class SingletonHolder {
public static SODIUM_INSTANCE: org.libsodium.jni.Sodium;
}
}
}
}
}
declare namespace org {
export namespace libsodium {
export namespace jni {
export class Sodium {
public static crypto_generichash_blake2b_bytes_max(): number;
public static randombytes(param0: native.Array, param1: number): void;
public static crypto_pwhash_opslimit_moderate(): number;
public static crypto_secretbox_zerobytes(): number;
public static crypto_hash_sha256_bytes(): number;
public static crypto_secretbox_open_easy(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: native.Array): number;
public static crypto_box_open(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: native.Array, param5: native.Array): number;
public static crypto_secretbox_xsalsa20poly1305_keybytes(): number;
public static crypto_box_detached_afternm(param0: native.Array, param1: native.Array, param2: native.Array, param3: number, param4: native.Array, param5: native.Array): number;
public static crypto_auth_hmacsha256(param0: native.Array, param1: native.Array, param2: number, param3: native.Array): number;
public static crypto_auth_hmacsha512_final(param0: native.Array, param1: native.Array): number;
public static crypto_stream_chacha20_xor(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: native.Array): number;
public static crypto_auth_hmacsha512256_bytes(): number;
public static crypto_generichash_keybytes(): number;
public static crypto_generichash_blake2b_keybytes(): number;
public static crypto_generichash_final(param0: native.Array, param1: native.Array, param2: number): number;
public static crypto_sign_ed25519_keypair(param0: native.Array, param1: native.Array): number;
public static crypto_sign_seed_keypair(param0: native.Array, param1: native.Array, param2: native.Array): number;
public static crypto_onetimeauth_final(param0: native.Array, param1: native.Array): number;
public static crypto_generichash_blake2b_update(param0: native.Array, param1: native.Array, param2: number): number;
public static crypto_onetimeauth_update(param0: native.Array, param1: native.Array, param2: number): number;
public static crypto_pwhash_passwd_max(): number;
public static crypto_pwhash_str(param0: native.Array, param1: native.Array, param2: number, param3: number, param4: number): number;
public static crypto_stream_xsalsa20_xor_ic(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: number, param5: native.Array): number;
public static crypto_generichash_keybytes_min(): number;
public static crypto_shorthash_siphash24_keybytes(): number;
public static crypto_secretbox_macbytes(): number;
public static crypto_secretbox_xsalsa20poly1305_noncebytes(): number;
public static crypto_onetimeauth_primitive(): native.Array;
public static crypto_stream_salsa20_xor(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: native.Array): number;
public static crypto_generichash_bytes_max(): number;
public static crypto_auth_hmacsha256_final(param0: native.Array, param1: native.Array): number;
public static crypto_box_boxzerobytes(): number;
public static crypto_sign_ed25519_seed_keypair(param0: native.Array, param1: native.Array, param2: native.Array): number;
public static crypto_scalarmult_bytes(): number;
public static crypto_scalarmult(param0: native.Array, param1: native.Array, param2: native.Array): number;
public static crypto_box_open_easy(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: native.Array, param5: native.Array): number;
public static crypto_pwhash_bytes_min(): number;
public static crypto_onetimeauth_keybytes(): number;
public static crypto_generichash_blake2b_personalbytes(): number;
public static crypto_box_curve25519xsalsa20poly1305_open_afternm(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: native.Array): number;
public static crypto_pwhash_strbytes(): number;
public static crypto_stream_xsalsa20_noncebytes(): number;
public static crypto_box_afternm(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: native.Array): number;
public static crypto_box_curve25519xsalsa20poly1305_macbytes(): number;
public static crypto_pwhash_memlimit_min(): number;
public static crypto_box_curve25519xsalsa20poly1305_afternm(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: native.Array): number;
public static crypto_stream_chacha20_ietf(param0: native.Array, param1: number, param2: native.Array, param3: native.Array): number;
public static crypto_shorthash_primitive(): native.Array;
public static crypto_pwhash_opslimit_min(): number;
public static crypto_stream_salsa20(param0: native.Array, param1: number, param2: native.Array, param3: native.Array): number;
public static crypto_aead_chacha20poly1305_npubbytes(): number;
public static crypto_onetimeauth_poly1305(param0: native.Array, param1: native.Array, param2: number, param3: native.Array): number;
public static crypto_box_seal_open(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: native.Array): number;
public static crypto_sign_ed25519_open(param0: native.Array, param1: native.Array, param2: native.Array, param3: number, param4: native.Array): number;
public static crypto_hash_sha256_update(param0: native.Array, param1: native.Array, param2: number): number;
public static crypto_secretbox_easy(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: native.Array): number;
public static crypto_stream_salsa20_keybytes(): number;
public static crypto_box_curve25519xsalsa20poly1305(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: native.Array, param5: native.Array): number;
public static crypto_stream_xsalsa20_xor(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: native.Array): number;
public static crypto_secretbox_xsalsa20poly1305_boxzerobytes(): number;
public static crypto_stream_chacha20_ietf_xor_ic(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: number, param5: native.Array): number;
public static crypto_box_curve25519xsalsa20poly1305_beforenm(param0: native.Array, param1: native.Array, param2: native.Array): number;
public static crypto_secretbox_xsalsa20poly1305_macbytes(): number;
public static crypto_box_curve25519xsalsa20poly1305_zerobytes(): number;
public static crypto_box_open_detached_afternm(param0: native.Array, param1: native.Array, param2: native.Array, param3: number, param4: native.Array, param5: native.Array): number;
public static crypto_pwhash_strprefix(): native.Array;
public static crypto_onetimeauth_statebytes(): number;
public static crypto_box_curve25519xsalsa20poly1305_beforenmbytes(): number;
public static crypto_hash_sha512_init(param0: native.Array): number;
public static crypto_scalarmult_curve25519_base(param0: native.Array, param1: native.Array): number;
public static crypto_auth_hmacsha512256(param0: native.Array, param1: native.Array, param2: number, param3: native.Array): number;
public static crypto_pwhash_primitive(): native.Array;
public static crypto_generichash_blake2b_keybytes_min(): number;
public static crypto_generichash_bytes_min(): number;
public static crypto_box_easy(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: native.Array, param5: native.Array): number;
public static crypto_secretbox_detached(param0: native.Array, param1: native.Array, param2: native.Array, param3: number, param4: native.Array, param5: native.Array): number;
public static crypto_hash_sha512_bytes(): number;
public static crypto_auth_bytes(): number;
public static crypto_sign_ed25519_sk_to_seed(param0: native.Array, param1: native.Array): number;
public static crypto_pwhash_bytes_max(): number;
public static crypto_sign_publickeybytes(): number;
public static crypto_sign_keypair(param0: native.Array, param1: native.Array): number;
public static crypto_pwhash_str_verify(param0: native.Array, param1: native.Array, param2: number): number;
public static crypto_generichash_init(param0: native.Array, param1: native.Array, param2: number, param3: number): number;
public static crypto_core_hsalsa20_constbytes(): number;
public static crypto_auth_hmacsha512_init(param0: native.Array, param1: native.Array, param2: number): number;
public static crypto_hash_sha512(param0: native.Array, param1: native.Array, param2: number): number;
public static sodium_increment(param0: native.Array, param1: number): void;
public static crypto_pwhash_saltbytes(): number;
public static crypto_generichash_primitive(): native.Array;
public static crypto_sign_primitive(): native.Array;
public static crypto_generichash_blake2b_init(param0: native.Array, param1: native.Array, param2: number, param3: number): number;
public static crypto_sign_ed25519_seedbytes(): number;
public static crypto_auth_hmacsha512(param0: native.Array, param1: native.Array, param2: number, param3: native.Array): number;
public static crypto_generichash(param0: native.Array, param1: number, param2: native.Array, param3: number, param4: native.Array, param5: number): number;
public static crypto_pwhash_passwd_min(): number;
public static crypto_pwhash_memlimit_sensitive(): number;
public static crypto_generichash_bytes(): number;
public static crypto_box_publickeybytes(): number;
public static crypto_aead_chacha20poly1305_ietf_encrypt(param0: native.Array, param1: native.Array, param2: native.Array, param3: number, param4: native.Array, param5: number, param6: native.Array, param7: native.Array, param8: native.Array): number;
public static crypto_core_salsa20(param0: native.Array, param1: native.Array, param2: native.Array, param3: native.Array): number;
public static randombytes_stir(): void;
public static crypto_core_salsa20_outputbytes(): number;
public static crypto_box_curve25519xsalsa20poly1305_publickeybytes(): number;
public static crypto_stream_xsalsa20(param0: native.Array, param1: number, param2: native.Array, param3: native.Array): number;
public static crypto_generichash_statebytes(): number;
public static crypto_generichash_blake2b_bytes(): number;
public static crypto_auth_keybytes(): number;
public static crypto_core_salsa20_inputbytes(): number;
public static crypto_pwhash_opslimit_sensitive(): number;
public static crypto_box_sealbytes(): number;
public static crypto_auth_primitive(): native.Array;
public static crypto_onetimeauth(param0: native.Array, param1: native.Array, param2: number, param3: native.Array): number;
public static crypto_generichash_update(param0: native.Array, param1: native.Array, param2: number): number;
public static crypto_hash_sha512_final(param0: native.Array, param1: native.Array): number;
public static crypto_sign_ed25519(param0: native.Array, param1: native.Array, param2: native.Array, param3: number, param4: native.Array): number;
public static crypto_hash_sha256_final(param0: native.Array, param1: native.Array): number;
public static crypto_auth_hmacsha256_init(param0: native.Array, param1: native.Array, param2: number): number;
public static crypto_box_open_easy_afternm(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: native.Array): number;
public static crypto_secretbox_xsalsa20poly1305_zerobytes(): number;
public static crypto_generichash_blake2b_final(param0: native.Array, param1: native.Array, param2: number): number;
public static crypto_sign_seedbytes(): number;
public static crypto_pwhash_memlimit_interactive(): number;
public static crypto_box_secretkeybytes(): number;
public static crypto_box_detached(param0: native.Array, param1: native.Array, param2: native.Array, param3: number, param4: native.Array, param5: native.Array, param6: native.Array): number;
public static crypto_core_hsalsa20_keybytes(): number;
public static crypto_auth_hmacsha512256_statebytes(): number;
public static crypto_onetimeauth_poly1305_verify(param0: native.Array, param1: native.Array, param2: number, param3: native.Array): number;
public static crypto_box_macbytes(): number;
public static crypto_pwhash(param0: native.Array, param1: number, param2: native.Array, param3: number, param4: native.Array, param5: number, param6: number, param7: number): number;
public static crypto_core_salsa20_keybytes(): number;
public static crypto_sign_ed25519_secretkeybytes(): number;
public static crypto_stream_salsa20_noncebytes(): number;
public static crypto_scalarmult_curve25519_bytes(): number;
public static crypto_box_keypair(param0: native.Array, param1: native.Array): number;
public static crypto_box_open_afternm(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: native.Array): number;
public static crypto_stream_xsalsa20_keybytes(): number;
public static crypto_onetimeauth_verify(param0: native.Array, param1: native.Array, param2: number, param3: native.Array): number;
public static crypto_sign_secretkeybytes(): number;
public static randombytes_random(): number;
public static randombytes_close(): number;
public static crypto_sign_detached(param0: native.Array, param1: native.Array, param2: native.Array, param3: number, param4: native.Array): number;
public static crypto_box_curve25519xsalsa20poly1305_noncebytes(): number;
public static crypto_generichash_blake2b_saltbytes(): number;
public static crypto_aead_chacha20poly1305_nsecbytes(): number;
public static crypto_sign_bytes(): number;
public static crypto_box_seed_keypair(param0: native.Array, param1: native.Array, param2: native.Array): number;
public static crypto_sign_ed25519_bytes(): number;
public static crypto_core_hsalsa20(param0: native.Array, param1: native.Array, param2: native.Array, param3: native.Array): number;
public static crypto_box_zerobytes(): number;
public static crypto_auth_hmacsha512256_keybytes(): number;
public static crypto_box_seal(param0: native.Array, param1: native.Array, param2: number, param3: native.Array): number;
public static crypto_box_primitive(): native.Array;
public static crypto_core_hsalsa20_inputbytes(): number;
public static crypto_pwhash_opslimit_interactive(): number;
public static crypto_box_beforenmbytes(): number;
public static crypto_stream_chacha20_xor_ic(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: number, param5: native.Array): number;
public static crypto_generichash_blake2b_salt_personal(param0: native.Array, param1: number, param2: native.Array, param3: number, param4: native.Array, param5: number, param6: native.Array, param7: native.Array): number;
public static crypto_box_curve25519xsalsa20poly1305_open(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: native.Array, param5: native.Array): number;
public static crypto_onetimeauth_init(param0: native.Array, param1: native.Array): number;
public static crypto_box_curve25519xsalsa20poly1305_boxzerobytes(): number;
public static crypto_box(param0: native.Array, param1: native.Array, param2: number, param3: native.Array, param4: native.Array, param5: native.Array): number;
public static crypto_auth_hmacsha256_bytes(): number;
public static crypto_onetimeauth_poly1305_init(param0: native.Array, param1: native.Array): number;
public static sodium_init(): number;
public static crypto_generichash_blake2b_bytes_min(): number;
public static crypto_secretbox_noncebytes(): number;
public static crypto_onetimeauth_bytes(): number;
public static crypto_box_curve25519xsalsa20poly1305_seed_keypair(param0: native.Array