{"_id":"@bookmoons/bitcore-ecies-cash","_rev":"2-87a2b4013b2d8588e7eb5aff1602b806","name":"@bookmoons/bitcore-ecies-cash","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.3":{"name":"@bookmoons/bitcore-ecies-cash","version":"1.0.3","description":"Bitcore based ECIES for Bitcoin Cash","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 cash","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-cash":"^0.18.1"},"gitHead":"6bd11f0eefc666e58097ba4ddc8b72d129e009c9","_id":"@bookmoons/bitcore-ecies-cash@1.0.3","_npmVersion":"6.2.0","_nodeVersion":"10.6.0","_npmUser":{"name":"bookmoons","email":"waic9e@protonmail.com"},"dist":{"integrity":"sha512-rd1VfeQhTMdDuaCHjZkWuWEjX9QdJFBV6Bfjabs4m5l9q50SxmAIFcVYmEFLvCrfn1nshewJTuR8mYnwDCTyZw==","shasum":"091a215ff37039a71e73809b232f4a2451cebb7f","tarball":"https://registry.npmjs.org/@bookmoons/bitcore-ecies-cash/-/bitcore-ecies-cash-1.0.3.tgz","fileCount":17,"unpackedSize":24187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbX2R2CRA9TVsSAnZWagAAs60QAKGWiZuJI4xq2VzBlMsU\nM0G4TQC7Z6D9cJU/THXtM7ZBM7IX6QrNh2ix/kT7CjstxVnw6bZ0VLV4HBmA\n/Zpmhj2VdBD3vIAsk6wdvt3LJcyLt6S88WYNVVl1cpy+NKzRAxbtSLXRLuMh\nslk4MNvwvD4VQcc+NBLfam2uZ+CeRz7SLB+ctnZ0ic9pMIrsdKFHaEMyxLEA\nEpxZ2ZBO1PV3LLexiPIVB2gcJHNJeRwRWVz6C+a86A/NrkRemoHFmKjOWzX1\nZIRjUXDoN8Lj5weqYcAMW3UJJPfiCIQoEKTmuus1lTufOpXz6Id67hsTaPa8\nl7oCqTRLcE5k0YXiDmGrd6fZ+EdVk9KT4wdbsocarPhNZ7DXL5WcsFsR6ZV6\nRnOL/brgFDUV802jGwTFr7xpIV3fo1HyolOhL5rTQtpyNHBnyxPSYGyUEVA4\npxdDjuoPMHZNWaTnJNcUFpg3ocGPOAt3VGqMuTnb+3OF/kVze4tPQScDyEcV\nhgEl3qoGgC36uvRH51cUYuLP++v5kbkOV3kIX2iRezJYaXEZd5kujR2r8Uon\ngiY3D7E61rCcmV/5Ma9ZvC2/P6xgZ+xhAWeXxBJARGBQWj7ZTuX/pCujqIf3\nm5p1v/5o/Ijr5Lu3ZTsx8JjJxF0+rd18GqxAox9eolgXb8g9CGH13YaBZpVF\n6xxN\r\n=8R50\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEnWaIFuwGyiciUilMO9GPcKYAyo+ySHbNql5eQ+e7t5AiEAnd/ZuAU4TViRuHcj7/frXmOtg3U0KZhgz/HHfHaVmkE="}]},"maintainers":[{"name":"bookmoons","email":"waic9e@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bitcore-ecies-cash_1.0.3_1532978294812_0.2639204803434245"},"_hasShrinkwrap":false},"1.0.4":{"name":"@bookmoons/bitcore-ecies-cash","version":"1.0.4","description":"Bitcore based ECIES for Bitcoin Cash","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/bookmoons/bitcore-ecies-cash.git"},"keywords":["bitcoin cash","bitcore","ecies","crypto","cryptography","encryption"],"author":{"name":"BitPay"},"license":"MIT","homepage":"https://github.com/bookmoons/bitcore-ecies-cash","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-cash":"^0.18.1"},"gitHead":"6bf0e92f841b5a5ea0f08ea45195740ab03b41ee","bugs":{"url":"https://github.com/bookmoons/bitcore-ecies-cash/issues"},"_id":"@bookmoons/bitcore-ecies-cash@1.0.4","_npmVersion":"6.2.0","_nodeVersion":"10.6.0","_npmUser":{"name":"bookmoons","email":"waic9e@protonmail.com"},"dist":{"integrity":"sha512-/qekiDO2k8othm0DB8QDdv5no8ztQI/W8R/YjFvoOiSsJu9mtJWq1ySbDEAgpIgeBYiPS5kqlyL/XLg1239/3w==","shasum":"4baf79cbcc22337c44b78163244342b3403d21c7","tarball":"https://registry.npmjs.org/@bookmoons/bitcore-ecies-cash/-/bitcore-ecies-cash-1.0.4.tgz","fileCount":17,"unpackedSize":23905,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdSSuCRA9TVsSAnZWagAAfY4P/jkBEfvleB+q3g4MsuPb\nqLcH9/k6jNgMA5o4iriVrc60kwjuvNRkYZqnmh59QcIFzj2PEdwE4cCngdwg\neYYZT2NT+M1dIXt9C6WpC2uO23REwcI+GmkESQkolXwiqp4nKwfHWisMNvNK\nMw628IQtpg42zkMLFKTF5Vo99dBuj98rY9USgg9wOgrDUT+76HjLLII1NbRD\n2U9sOAOryyB+c2xoriGH7zFKC8goeAz4XhwVqictAcmjZZYU403KP80/6ysT\nNLgEfbbgCqcnuwu/RZjKlOk5RS30KMwZV/EpU0BfDhEhrCqm9rat3g0RBc25\nrhOzaXZr74zT0nmsjRNqSmxkDs2RY6CXQ7pt26n2JEk1334DQUjXBsA4HJqU\numPOo81AKspC+hW07NoK6ukgusMpSMP+3+ARB9RZkFlbr6VBRgsQJDB1zSll\nX9O7XD4PT0ln07KuioqSSaiUnBiqpBXb9SfZWFirCGREXn+JL/rxDZAq9r4y\nzc8rvwGdQO3KUyZZAIX136DD3h757evVdjafELOOxpeF1QAeQpEUk4IWK17B\npOAGb/kNBkZK+evshtFOQY70HIAGQWVaVQpFsx8v/YpZ0aG6hEPwQfNd9F4+\nCA8C/0NGa8p2I5BxJjPGYzPPFCaFo8Y56HWXqbwp5pytev8YRJ3Fs0dJEDy6\nMVwF\r\n=msp0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJJD8QzWXuI6qlNXsroEIJJtBFx1Eec265hBzHMDwx9AIgFoztzq9zkUr1/z9j4YThkb5x6mKjS9aRwIXQxFpx8VY="}]},"maintainers":[{"name":"bookmoons","email":"waic9e@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bitcore-ecies-cash_1.0.4_1534403757571_0.43582783838941896"},"_hasShrinkwrap":false}},"time":{"created":"2018-07-30T19:18:14.628Z","1.0.3":"2018-07-30T19:18:14.876Z","modified":"2022-04-04T20:07:37.064Z","1.0.4":"2018-08-16T07:15:57.680Z"},"maintainers":[{"name":"bookmoons","email":"waic9e@protonmail.com"}],"description":"Bitcore based ECIES for Bitcoin Cash","homepage":"https://github.com/bookmoons/bitcore-ecies-cash","keywords":["bitcoin cash","bitcore","ecies","crypto","cryptography","encryption"],"repository":{"type":"git","url":"git+https://github.com/bookmoons/bitcore-ecies-cash.git"},"author":{"name":"BitPay"},"bugs":{"url":"https://github.com/bookmoons/bitcore-ecies-cash/issues"},"license":"MIT","readme":"# Bitcoin Cash 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 the Bitcoin Cash variant of [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## License\n\nCode released under [the MIT license](https://github.com/bitpay/bitcore/blob/master/LICENSE).\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","readmeFilename":"README.md"}