{"id":13773138,"url":"https://github.com/bitpay/bitcore-ecies","last_synced_at":"2025-04-09T20:07:20.231Z","repository":{"id":24682005,"uuid":"28092941","full_name":"bitpay/bitcore-ecies","owner":"bitpay","description":"A module for bitcore that implements the Elliptic Curve Integrated Encryption Scheme (ECIES).","archived":false,"fork":false,"pushed_at":"2023-03-08T08:31:37.000Z","size":983,"stargazers_count":58,"open_issues_count":6,"forks_count":72,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-04-09T20:07:15.633Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitpay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2014-12-16T15:24:52.000Z","updated_at":"2024-11-06T00:49:55.000Z","dependencies_parsed_at":"2024-01-15T03:57:46.627Z","dependency_job_id":"46149950-1cfb-4b30-bf95-d7899ff491fe","html_url":"https://github.com/bitpay/bitcore-ecies","commit_stats":{"total_commits":70,"total_committers":14,"mean_commits":5.0,"dds":0.5142857142857142,"last_synced_commit":"fa3e7f0e0e47c9a6f5ec4e52e06ff8da45912b8c"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitpay%2Fbitcore-ecies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitpay%2Fbitcore-ecies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitpay%2Fbitcore-ecies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitpay%2Fbitcore-ecies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitpay","download_url":"https://codeload.github.com/bitpay/bitcore-ecies/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103872,"owners_count":21048245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T17:01:11.886Z","updated_at":"2025-04-09T20:07:20.200Z","avatar_url":"https://github.com/bitpay.png","language":"JavaScript","readme":"\u003cimg src=\"http://bitcore.io/css/images/module-ecies.png\" alt=\"bitcore ecies\" height=\"35\"\u003e\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\u0026style=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","funding_links":[],"categories":["List of content"],"sub_categories":["Cryptography"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitpay%2Fbitcore-ecies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitpay%2Fbitcore-ecies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitpay%2Fbitcore-ecies/lists"}