Skip to content

JavaScript ES module for ECDH and ECDSA for browsers and Deno

License

Notifications You must be signed in to change notification settings

taisukef/ECDH-es

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECDH-es

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!

Usage

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.

Dependencies

Base project

forked from developmentil/ecdh: Native Node.js module for ECDH and ECDSA.

About

JavaScript ES module for ECDH and ECDSA for browsers and Deno

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 100.0%