A module for [bch][bch] that implements the Elliptic Curve Integrated Encryption Scheme (ECIES). Uses ECIES symmetric key negotiation from public keys to encrypt arbitrarily long data streams.
Credit to [@ryanxcharles][ryan] for the original implementation.
ECIES will allow to securely encrypt and decrypt messages using ECDSA key pairs (bitcoin cryptography).
var alice =;var message = 'some secret message';var encrypted = alice;// encrypted will contain an encrypted buffer only Bob can decryptvar bob =;var decrypted = bob;// decrypted will be 'some secret message'
See CONTRIBUTING.md on the main bch repo for information about how to contribute.
Code released under the MIT license.
Copyright 2017 Open Wallet Stack.