{"name":"bitcore-ecies","version":"1.0.0","description":"ECIES implemented for Bitcore.","main":"index.js","directories":{"test":"test"},"scripts":{"lint":"gulp lint","test":"gulp test","coverage":"gulp coverage","build":"gulp"},"repository":{"type":"git","url":"git+https://github.com/bitpay/bitcore-ecies.git"},"keywords":["bitcoin","bitcore","ecies","crypto","cryptography","encryption"],"author":{"name":"BitPay"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/bitcore-ecies/issues"},"homepage":"https://github.com/bitpay/bitcore-ecies","devDependencies":{"assert":"^1.1.2","bitcore-build":"git://github.com/bitpay/bitcore-build.git","brfs":"^1.2.0","browserify":"^8.1.0","chai":"~1.10.0","gulp":"^3.8.10"},"dependencies":{"aes":"^0.1.0","bitcore-lib":"^0.13.7"},"gitHead":"78b6c39a3cd75ef6cc7cf21c5bb702333bdd0606","_id":"bitcore-ecies@1.0.0","_shasum":"31110ba9f5b93da7ee9a1092608c7de4ce97e56b","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"braydonf","email":"braydon@bitpay.com"},"maintainers":[{"name":"martindale","email":"eric@ericmartindale.com"},{"name":"maraoz","email":"manuelaraoz@gmail.com"},{"name":"eordano","email":"eordano@gmail.com"},{"name":"yemel","email":"angel.jardi@gmail.com"},{"name":"braydonf","email":"braydon@bitpay.com"}],"dist":{"shasum":"31110ba9f5b93da7ee9a1092608c7de4ce97e56b","tarball":"http://registry-npm.ywwl.com/bitcore-ecies/download/bitcore-ecies-1.0.0.tgz","integrity":"sha512-n7yIm7wL7NY4wblbh6JBPkN352q0vY5YxvdXlITQ+qs5p5RR4YKompGRliPHwjrc6DBG+fnqjtqs+R/4qWbPWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEZJMCIX9a37ypOesZr0Puk0DTykIxX7pVPOFtGvKdhdAiAHK8Uwy7ZEQGJVxyw86aV/X2kHI4qCynfUP3yxOQftyQ=="}],"size":9457,"noattachment":false,"key":"/bitcore-ecies/-/bitcore-ecies-1.0.0.tgz"},"readme":"<img src=\"http://bitcore.io/css/images/module-ecies.png\" alt=\"bitcore ecies\" height=\"35\">\n# ECIES for bitcore\n\n[![NPM Package](https://img.shields.io/npm/v/bitcore-ecies.svg?style=flat-square)](https://www.npmjs.org/package/bitcore-ecies)\n[![Build Status](https://img.shields.io/travis/bitpay/bitcore-ecies.svg?branch=master&style=flat-square)](https://travis-ci.org/bitpay/bitcore-ecies)\n[![Coverage Status](https://img.shields.io/coveralls/bitpay/bitcore-ecies.svg?style=flat-square)](https://coveralls.io/r/bitpay/bitcore-ecies)\n\nA module for [bitcore][bitcore] that implements the [Elliptic Curve Integrated Encryption Scheme (ECIES)][ECIES]. Uses ECIES symmetric key negotiation from public keys to encrypt arbitrarily long data streams.\n\nSee [the main bitcore repo](https://github.com/bitpay/bitcore) or the [bitcore guide on ECIES](http://bitcore.io/guide/module/ecies/index.html) for more information.\n\nCredit to [@ryanxcharles][ryan] for the original implementation.\n\n## Getting started\n\nECIES will allow to securely encrypt and decrypt messages using ECDSA key pairs (bitcoin cryptography).\n\n```javascript\nvar alice = ECIES()\n  .privateKey(aliceKey)\n  .publicKey(bobKey.publicKey);\n\nvar message = 'some secret message';\nvar encrypted = alice.encrypt(message);\n\n// encrypted will contain an encrypted buffer only Bob can decrypt\n\nvar bob = ECIES()\n  .privateKey(bobKey)\n  .publicKey(aliceKey.publicKey);\nvar decrypted = bob\n  .decrypt(encrypted)\n  .toString();\n// decrypted will be 'some secret message'\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](https://github.com/bitpay/bitcore/blob/master/CONTRIBUTING.md) on the main bitcore repo for information about how to contribute.\n\n## License\n\nCode released under [the MIT license](https://github.com/bitpay/bitcore/blob/master/LICENSE).\n\nCopyright 2013-2015 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.\n\n[bitcore]: http://github.com/bitpay/bitcore\n[ECIES]: http://en.wikipedia.org/wiki/Integrated_Encryption_Scheme\n[ryan]: http://github.com/ryanxcharles\n","publish_time":1445030306805,"_cnpm_publish_time":1445030306805,"dist-tags":{"latest":"1.0.3"}}