Pure JavaScript ES module implementation of ECDH and ECDSA for browsers and Deno.
🚨 Warning 🚨 This library has not received any formal audit and is not considered safe for production use!
import { ECDH } from "https://taisukef.github.io/ECDH-es/ECDH.js";
const type = "secp256r1";
const curve = ECDH.getCurve(type);
const keys = ECDH.generateKeys(curve);
console.log(keys);
For usage details see the examples in the examples folder.
forked from developmentil/ecdh: Native Node.js module for ECDH and ECDSA.