ECIES implemented for Bitcore.

Downloads in past


5671.0.35 years ago8 years agoMinified + gzip package size for bitcore-ecies in KB


bitcore ecies
ECIES for bitcore
NPM Package Build Status Coverage Status
A module for bitcorebitcore that implements the Elliptic Curve Integrated Encryption Scheme (ECIES)ECIES. Uses ECIES symmetric key negotiation from public keys to encrypt arbitrarily long data streams.
See the main bitcore repo or the bitcore guide on ECIES for more information.
Credit to @ryanxcharlesryan for the original implementation.

Getting started

ECIES will allow to securely encrypt and decrypt messages using ECDSA key pairs (bitcoin cryptography).
var alice = ECIES()

var message = 'some secret message';
var encrypted = alice.encrypt(message);

// encrypted will contain an encrypted buffer only Bob can decrypt

var bob = ECIES()
var decrypted = bob
// decrypted will be 'some secret message'


See on the main bitcore repo for information about how to contribute.


Code released under the MIT license.
Copyright 2013-2015 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.