Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 965 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 965 Bytes

node-ecies

Build Status NPM Dependency Status MIT Licence GitTip

A Node.js ECIES implementation.

###Usage

var ecies = require('ecies');
var chiperText = ecies.encrypt(text, hexPublicKey, curveName);
var decryptedText = ecies.decrypt(cipherText, hexPrivateKey, curveName);

###Compatability I've read somewhere that Crypto++'s ECIES implementation is not compatible with Bouncy Castle's implementation. It is also broken in Node 0.11.