Skip to main content
Module

x/ed25519/mod.ts

Fastest JS implementation of ed25519, x25519 & ristretto255. Independently audited, high-security, 0-dependency EDDSA signatures and ECDH key agreement
Go to Latest
File
import { getPublicKey, sign, verify, utils, CURVE, Point, ExtendedPoint } from './index.ts';import { Sha512 } from 'https://deno.land/std@0.119.0/hash/sha512.ts';
utils.sha512 = async (message: Uint8Array): Promise<Uint8Array> => { return new Uint8Array(new Sha512().update(message).arrayBuffer());};
export { getPublicKey, sign, verify, utils, CURVE, Point, ExtendedPoint };