Skip to content
browserify version of crypto.createECDH
Branch: master
Clone or download
Latest commit 3e7d3d3 May 7, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.npmignore adds npmignore May 21, 2015
.travis.yml Private key import (#8) May 7, 2018
LICENSE add license (#10) Oct 18, 2017
browser.js Private key import (#8) May 7, 2018
index.js Private key import (#8) May 7, 2018
package.json 4.0.3 May 7, 2018 upgrade bn.js and eleptic, add 2 curves Oct 23, 2015
test.js Private key import (#8) May 7, 2018

createECDH Build Status

In io.js or node >= 0.11 this module is just a shortcut to crypto.createECDH. In node <= 0.11 or the browser this is a pure JavaScript implimentation, more specifically a wrapper around elliptic, to give it the same API as node. secp256k1, secp224r1 (aka p224), prime256v1 (aka p256, secp256r1), prime192v1 (aka p192, secp192r1), secp384r1 (aka p384), secp521r1 (aka p521) curves all work in both this library and node (though only the highlighted name will work in node).

You can’t perform that action at this time.