Skip to main content
Module

x/ed25519/index.d.ts>etc

Fastest 4KB JS implementation of ed25519 elliptic curve. Auditable, high-security, 0-dependency EDDSA signatures compliant with RFC8032 & ZIP215
Go to Latest
variable etc
import { etc } from "https://deno.land/x/ed25519@2.0.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; }