ecies

A Node.js ECIES implementation.

Usage no npm install needed!

<script type="module">
  import ecies from 'https://cdn.skypack.dev/ecies';
</script>

README

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.