{"name":"bitcore-ecies","version":"1.0.3","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.14.0"},"gitHead":"b9bd2771c81ec7ba33e82b9a10916e4cf0b95846","_id":"bitcore-ecies@1.0.3","_shasum":"710ff09129d02756ecfda018bacbaaa885ff1f75","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"ematiu","email":"ematiu@gmail.com"},"maintainers":[{"name":"braydonf","email":"courier@braydon.com"},{"name":"ematiu","email":"ematiu@gmail.com"},{"name":"gabegattis","email":"gabegattis@gmail.com"},{"name":"kleetus","email":"laconia@gmail.com"},{"name":"patrickbitpay","email":"patrick@bitpay.com"}],"dist":{"shasum":"710ff09129d02756ecfda018bacbaaa885ff1f75","tarball":"http://registry-npm.ywwl.com/bitcore-ecies/download/bitcore-ecies-1.0.3.tgz","integrity":"sha512-DQV9MMvIpUpffs+FQu+blAZwH0citKqnq++dQGbzx9B5IICvhoy1s7ChYHZqSbGEvJwlN9LA9I9WQBC7VZtrdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeRcDL9MqYMjwX3i4zOiNAL20yEnpc7kJbv+zbko8EDQIhAPVsbMm7Ps1NxX4VIu468Kk7c0S5c4Qh7153o7h2W6Cg"}],"size":9723,"noattachment":false,"key":"/bitcore-ecies/-/bitcore-ecies-1.0.3.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/bitcore-ecies-1.0.3.tgz_1490693193167_0.17966138757765293"},"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":1490693194898,"_cnpm_publish_time":1490693194898,"dist-tags":{"latest":"1.0.3"}}