import { type SumoAddons } from "https://deno.land/x/sodium@0.2.0/sumo_types.ts";
Methods
crypto_auth_hmacsha256_keygen(outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_auth_hmacsha256_keygen(outputFormat: StringOutputFormat): string
crypto_auth_hmacsha512_keygen(outputFormat: StringOutputFormat): string
crypto_auth_hmacsha512_keygen(outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_box_curve25519xchacha20poly1305_keypair(): StringKeyPair
crypto_box_curve25519xchacha20poly1305_keypair(): KeyPair
crypto_box_curve25519xchacha20poly1305_seal_open(): string
ciphertext: Uint8Array,
publicKey: Uint8Array,
secretKey: Uint8Array,
outputFormat: StringOutputFormat,
crypto_box_curve25519xchacha20poly1305_seal_open(): Uint8Array
ciphertext: Uint8Array,
publicKey: Uint8Array,
secretKey: Uint8Array,
outputFormat?: Uint8ArrayOutputFormat | null,
crypto_core_ristretto255_from_hash(r: Uint8Array, outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_core_ristretto255_from_hash(r: Uint8Array, outputFormat: StringOutputFormat): string
crypto_core_ristretto255_random(outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_core_ristretto255_random(outputFormat: StringOutputFormat): string
crypto_core_ristretto255_scalar_complement(scalar: string | Uint8Array, outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_core_ristretto255_scalar_complement(scalar: string | Uint8Array, outputFormat: StringOutputFormat): string
crypto_core_ristretto255_scalar_invert(scalar: string | Uint8Array, outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_core_ristretto255_scalar_invert(scalar: string | Uint8Array, outputFormat: StringOutputFormat): string
crypto_core_ristretto255_scalar_negate(scalar: string | Uint8Array, outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_core_ristretto255_scalar_negate(scalar: string | Uint8Array, outputFormat: StringOutputFormat): string
crypto_core_ristretto255_scalar_random(outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_core_ristretto255_scalar_random(outputFormat: StringOutputFormat): string
crypto_core_ristretto255_scalar_reduce(secret: string | Uint8Array, outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_core_ristretto255_scalar_reduce(secret: string | Uint8Array, outputFormat: StringOutputFormat): string
crypto_generichash_blake2b_salt_personal(): Uint8Array
subkey_len: number,
key: string | Uint8Array | null,
id: Uint8Array,
ctx: Uint8Array,
outputFormat?: Uint8ArrayOutputFormat | null,
crypto_generichash_blake2b_salt_personal(): string
subkey_len: number,
key: string | Uint8Array | null,
id: Uint8Array,
ctx: Uint8Array,
outputFormat: StringOutputFormat,
crypto_hash_sha256(message: string | Uint8Array, outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_hash_sha256(message: string | Uint8Array, outputFormat: StringOutputFormat): string
crypto_hash_sha512(message: string | Uint8Array, outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_hash_sha512(message: string | Uint8Array, outputFormat: StringOutputFormat): string
crypto_onetimeauth_final(state_address: StateAddress, outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_onetimeauth_final(state_address: StateAddress, outputFormat: StringOutputFormat): string
crypto_onetimeauth_init(key?: string | Uint8Array | null): StateAddress
crypto_onetimeauth_keygen(outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_onetimeauth_keygen(outputFormat: StringOutputFormat): string
crypto_onetimeauth_update(state_address: StateAddress, message_chunk: string | Uint8Array): void
crypto_pwhash_scryptsalsa208sha256(): Uint8Array
keyLength: number,
password: string | Uint8Array,
salt: Uint8Array,
opsLimit: number,
memLimit: number,
outputFormat?: Uint8ArrayOutputFormat | null,
crypto_pwhash_scryptsalsa208sha256(): string
keyLength: number,
password: string | Uint8Array,
salt: Uint8Array,
opsLimit: number,
memLimit: number,
outputFormat: StringOutputFormat,
crypto_pwhash_scryptsalsa208sha256_ll(): Uint8Array
password: string | Uint8Array,
salt: string | Uint8Array,
opsLimit: number,
r: number,
p: number,
keyLength: number,
outputFormat?: Uint8ArrayOutputFormat | null,
crypto_pwhash_scryptsalsa208sha256_ll(): string
password: string | Uint8Array,
salt: string | Uint8Array,
opsLimit: number,
r: number,
p: number,
keyLength: number,
outputFormat: StringOutputFormat,
crypto_sign_ed25519_sk_to_pk(privateKey: Uint8Array, outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_sign_ed25519_sk_to_pk(privateKey: Uint8Array, outputFormat: StringOutputFormat): string
crypto_sign_ed25519_sk_to_seed(privateKey: Uint8Array, outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_sign_ed25519_sk_to_seed(privateKey: Uint8Array, outputFormat: StringOutputFormat): string
crypto_stream_chacha20_ietf_xor(): Uint8Array
input_message: string | Uint8Array,
nonce: Uint8Array,
key: Uint8Array,
outputFormat?: Uint8ArrayOutputFormat | null,
crypto_stream_chacha20_ietf_xor(): string
input_message: string | Uint8Array,
nonce: Uint8Array,
key: Uint8Array,
outputFormat: StringOutputFormat,
crypto_stream_chacha20_ietf_xor_ic(): Uint8Array
input_message: string | Uint8Array,
nonce: Uint8Array,
nonce_increment: number,
key: Uint8Array,
outputFormat?: Uint8ArrayOutputFormat | null,
crypto_stream_chacha20_ietf_xor_ic(): string
input_message: string | Uint8Array,
nonce: Uint8Array,
nonce_increment: number,
key: Uint8Array,
outputFormat: StringOutputFormat,
crypto_stream_chacha20_keygen(outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_stream_chacha20_keygen(outputFormat: StringOutputFormat): string
crypto_stream_chacha20_xor(): Uint8Array
input_message: string | Uint8Array,
nonce: Uint8Array,
key: Uint8Array,
outputFormat?: Uint8ArrayOutputFormat | null,
crypto_stream_chacha20_xor(): string
input_message: string | Uint8Array,
nonce: Uint8Array,
key: Uint8Array,
outputFormat: StringOutputFormat,
crypto_stream_chacha20_xor_ic(): Uint8Array
input_message: string | Uint8Array,
nonce: Uint8Array,
nonce_increment: number,
key: Uint8Array,
outputFormat?: Uint8ArrayOutputFormat | null,
crypto_stream_chacha20_xor_ic(): string
input_message: string | Uint8Array,
nonce: Uint8Array,
nonce_increment: number,
key: Uint8Array,
outputFormat: StringOutputFormat,
crypto_stream_keygen(outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_stream_keygen(outputFormat: StringOutputFormat): string
crypto_stream_xchacha20_keygen(outputFormat?: Uint8ArrayOutputFormat | null): Uint8Array
crypto_stream_xchacha20_keygen(outputFormat: StringOutputFormat): string
crypto_stream_xchacha20_xor(): Uint8Array
input_message: string | Uint8Array,
nonce: Uint8Array,
key: Uint8Array,
outputFormat?: Uint8ArrayOutputFormat | null,
crypto_stream_xchacha20_xor(): string
input_message: string | Uint8Array,
nonce: Uint8Array,
key: Uint8Array,
outputFormat: StringOutputFormat,
crypto_stream_xchacha20_xor_ic(): Uint8Array
input_message: string | Uint8Array,
nonce: Uint8Array,
nonce_increment: number,
key: Uint8Array,
outputFormat?: Uint8ArrayOutputFormat | null,
crypto_stream_xchacha20_xor_ic(): string
input_message: string | Uint8Array,
nonce: Uint8Array,
nonce_increment: number,
key: Uint8Array,
outputFormat: StringOutputFormat,