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://denopkg.com/chiefbiiko/sha512/mod.ts';
utils.sha512 = async (message: Uint8Array): Promise<Uint8Array> => { return new SHA512().update(message).digest() as Uint8Array;};
export { getPublicKey, sign, verify, utils, CURVE, Point, ExtendedPoint };