{"name":"bitcore-ecies","version":"0.9.1","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":"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":"^0.9.0"},"gitHead":"9caf8ec8de3af1a8bc23473269ff1a26334ff863","_id":"bitcore-ecies@0.9.1","_shasum":"864d3a96fad8d2a3ba66a6f716b5ff673b7d52de","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"maraoz","email":"manuelaraoz@gmail.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":"864d3a96fad8d2a3ba66a6f716b5ff673b7d52de","tarball":"http://registry-npm.ywwl.com/bitcore-ecies/download/bitcore-ecies-0.9.1.tgz","integrity":"sha512-HwaOEritb+uTSbdkboTzgcj3XypI0xaHMNq4Wvq1M1sB8MGwsL7VxHCQ1rUljFUTMyvs1F+LOxI4VEwaZWpAnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC23u4Srmikh436M2WM06Yx0sxBF9ookBFZ3v3WfolCFwIhAMXt+1ZQacQ8GdlCH5WeZ6crj4CThBn7VfsB7mcpTneg"}],"size":7041,"noattachment":false,"key":"/bitcore-ecies/-/bitcore-ecies-0.9.1.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":1421946749649,"_cnpm_publish_time":1421946749649,"dist-tags":{"latest":"1.0.3"}}