Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ed25519_dalek/wasm/pkg/berith.d.ts>InitOutput

WebAssembly port of Ed25519 signatures and X25519 key exchange
Latest
interface InitOutput
import { type InitOutput } from "https://deno.land/x/ed25519_dalek@v1.2.6/wasm/pkg/berith.d.ts";

Properties

readonly
memory: WebAssembly.Memory
readonly
x25519staticsecret_random: () => number
readonly
x25519staticsecret_from_bytes: (a: number, b: number) => void
readonly
x25519staticsecret_to_bytes: (a: number) => number
readonly
x25519staticsecret_diffie_hellman: (a: number, b: number) => number
readonly
x25519staticsecret_to_public: (a: number) => number
readonly
ed25519signingkey_new: () => number
readonly
ed25519signingkey_from_bytes: (a: number, b: number) => void
readonly
ed25519signingkey_to_bytes: (a: number) => number
readonly
ed25519signingkey_public: (a: number) => number
readonly
ed25519signingkey_sign: (a: number, b: number) => number
readonly
ed25519verifyingkey_from_bytes: (a: number, b: number) => void
readonly
ed25519verifyingkey_to_bytes: (a: number) => number
readonly
ed25519verifyingkey_verify: (
a: number,
b: number,
c: number,
) => number
readonly
x25519publickey_from_bytes: (a: number, b: number) => void
readonly
__wbg_memory_free: (a: number) => void
readonly
memory_new: (a: number, b: number) => number
readonly
memory_ptr: (a: number) => number
readonly
memory_len: (a: number) => number
readonly
x25519sharedsecret_was_contributory: (a: number) => number
readonly
__wbg_ed25519signature_free: (a: number) => void
readonly
ed25519signature_from_bytes: (a: number, b: number) => void
readonly
ed25519signature_to_bytes: (a: number) => number
readonly
ed25519signingkey_random: () => number
readonly
ed25519verifyingkey_new: (a: number, b: number) => void
readonly
x25519publickey_new: (a: number, b: number) => void
readonly
ed25519signature_new: (a: number, b: number) => void
readonly
x25519publickey_to_bytes: (a: number) => number
readonly
x25519sharedsecret_to_bytes: (a: number) => number
readonly
__wbg_x25519staticsecret_free: (a: number) => void
readonly
__wbg_ed25519verifyingkey_free: (a: number) => void
readonly
__wbg_x25519publickey_free: (a: number) => void
readonly
__wbg_x25519sharedsecret_free: (a: number) => void
readonly
__wbg_ed25519signingkey_free: (a: number) => void
readonly
__wbindgen_add_to_stack_pointer: (a: number) => number
readonly
__wbindgen_malloc: (a: number, b: number) => number
readonly
__wbindgen_exn_store: (a: number) => void