Skip to main content
Module

x/ed25519/index.d.ts>etc

Fastest 4KB JS implementation of ed25519 signatures
Latest
variable etc
import { etc } from "https://deno.land/x/ed25519@2.1.0/index.d.ts";

type

{ bytesToHex: (b: Bytes) => string; hexToBytes: (hex: string) => Bytes; concatBytes: (...arrs: Bytes[]) => Uint8Array; mod: (a: bigint, b?: bigint) => bigint; invert: (num: bigint, md?: bigint) => bigint; randomBytes: (len?: number) => Bytes; sha512Async: (...messages: Bytes[]) => Promise<Bytes>; sha512Sync: Sha512FnSync; }