{"id":26796162,"url":"https://github.com/akanass/rx-crypto","last_synced_at":"2025-07-03T17:11:01.071Z","repository":{"id":35085336,"uuid":"198589541","full_name":"akanass/rx-crypto","owner":"akanass","description":"rx-crypto library provides some functions for security features like AES key, Key pair, RSA key, PKCS12, Certificate, PEM and more","archived":false,"fork":false,"pushed_at":"2023-01-08T23:20:18.000Z","size":442,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-23T03:05:10.506Z","etag":null,"topics":["aes","crypto","jwt","observable","openssl","pem","rsa","rxjs7"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/akanass.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-24T08:13:27.000Z","updated_at":"2025-06-19T20:54:01.000Z","dependencies_parsed_at":"2023-01-15T13:31:32.872Z","dependency_job_id":null,"html_url":"https://github.com/akanass/rx-crypto","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/akanass/rx-crypto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akanass%2Frx-crypto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akanass%2Frx-crypto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akanass%2Frx-crypto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akanass%2Frx-crypto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akanass","download_url":"https://codeload.github.com/akanass/rx-crypto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akanass%2Frx-crypto/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263366702,"owners_count":23455798,"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":["aes","crypto","jwt","observable","openssl","pem","rsa","rxjs7"],"created_at":"2025-03-29T18:17:37.923Z","updated_at":"2025-07-03T17:11:01.046Z","avatar_url":"https://github.com/akanass.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv style=\"margin-bottom:20px;\"\u003e\n\u003cdiv style=\"line-height:60px\"\u003e\n    \u003ca href=\"https://travis-ci.org/akanass/rx-crypto.svg?branch=master\"\u003e\n        \u003cimg src=\"https://travis-ci.org/akanass/rx-crypto.svg?branch=master\" alt=\"build\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://coveralls.io/github/akanass/rx-crypto?branch=master\"\u003e\n        \u003cimg src=\"https://coveralls.io/repos/github/akanass/rx-crypto/badge.svg?branch=master\" alt=\"coveralls\" /\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n    \u003ca href=\"https://www.typescriptlang.org/docs/tutorial.html\"\u003e\n        \u003cimg src=\"https://cdn-images-1.medium.com/max/800/1*8lKzkDJVWuVbqumysxMRYw.png\"\n             align=\"right\" alt=\"Typescript logo\" width=\"50\" height=\"50\" style=\"border:none;\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"http://reactivex.io/rxjs\"\u003e\n        \u003cimg src=\"http://reactivex.io/assets/Rx_Logo_S.png\"\n             align=\"right\" alt=\"ReactiveX logo\" width=\"50\" height=\"50\" style=\"border:none;\" /\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n\n# Rx-Crypto\n\n`Crypto` library provides some functions for security features like `AES key`, `Key pair`, `PKCS12`, `RSA key`, `Certificate`, `JWT` and more.\n\nWe use existing node modules to provide these functions: [NodeRSA](https://github.com/rzcoder/node-rsa), [PEM](https://github.com/Dexus/pem), [JWT](https://github.com/auth0/node-jsonwebtoken) and [RandomString](https://github.com/klughammer/node-randomstring) but we add `Observable` feature for asynchronous and stream processes.\n\n**All most important crypto features in only one library.**\n\n## Table of contents\n\n* [Using rx-crypto library](#using-rx-crypto-library)\n    * [Yarn or NPM it in your package.json](#yarn-or-npm-it-in-your-packagejson)\n    * [Use it anywhere](#use-it-anywhere)\n* [API in Detail](#api-in-detail)\n* [Contributing](#contributing)\n* [Change History](#change-history)\n* [License](#license)\n\n## Using rx-crypto library\n\n### `yarn` or `npm` it in your `package.json`\n\n```bash\n$ npm install --save @akanass/rx-crypto rxjs\n\nor\n\n$ yarn add @akanass/rx-crypto rxjs\n```\n\n```javascript\n\"dependencies\": {\n    \"@akanass/rx-crypto\": \"^2.2.0\",\n    \"rxjs\": \"^7.4.0\",\n    //...\n}\n//...\n```\n\n### use it anywhere\n\nYou can use `AES`, `Hash`, `PEM`, `RandomString`, `JWT` and `RSA` anywhere in your own library or script.\n\n```javascript\nimport { RSA, NodeRSA } from '@akanass/rx-crypto';\n\nconst rsa: RSA = new RSA();\nrsa.createKey().subscribe(\n    (k: NodeRSA) =\u003e console.log(k), // Show NodeRSA instance in console\n    e =\u003e console.error(e) // Show error in console\n);\n```\n\n[Back to top](#table-of-contents)\n\n## API in Detail\n\nWe implemented some services and to see their details go to documentation folder:\n\n* [./documentation/AES.md](https://github.com/akanass/rx-crypto/blob/master/documentation/AES.md)\n* [./documentation/Hash.md](https://github.com/akanass/rx-crypto/blob/master/documentation/Hash.md)\n* [./documentation/JWT.md](https://github.com/akanass/rx-crypto/blob/master/documentation/JWT.md)\n* [./documentation/PEM.md](https://github.com/akanass/rx-crypto/blob/master/documentation/PEM.md)\n* [./documentation/RandomString.md](https://github.com/akanass/rx-crypto/blob/master/documentation/RandomString.md)\n* [./documentation/RSA.md](https://github.com/akanass/rx-crypto/blob/master/documentation/RSA.md)\n\n[Back to top](#table-of-contents)\n\n## Contributing\n\nTo set up your development environment:\n\n1. clone the repo to your workspace,\n2. in the shell `cd` to the main folder,\n3. hit `npm or yarn install`,\n4. run `npm or yarn run test`.\n    * It will lint the code and execute all tests. \n    * The test coverage report can be viewed from `./coverage/lcov-report/index.html`.\n\n[Back to top](#table-of-contents)\n\n## Change History\n* v2.2.0 (2021-10-08)\n    * Update packages' versions\n    * Latest `rxjs` version `7.4.0`\n* v2.1.0 (2021-10-05)\n    * Update packages' versions\n    * Latest `rxjs` version `7.3.1`\n    * Update `operators` to match with latest `rxjs` version\n    * Update tests\n* v2.0.0 (2021-06-07)\n    * Update packages' versions\n    * Latest `rxjs` version `7.1.0`\n* v1.1.0 (2021-01-31)\n    * Update packages' versions\n    * Fix tests\n    * Fix `tslint`\n* v1.0.0 (2019-08-27)\n    * Implementation of `library` with `AES`, `Hash`, `JWT`, `PEM`, `RandomString` and `RSA`\n    * Implementation of `Observable's` operators for `AES` and `RSA` features.\n    * Related tests.\n    * Documentation.\n\n## License\n\nCopyright (c) 2021 **Nicolas Jessel** Licensed under the [MIT license](https://github.com/akanass/rx-crypto/blob/next/LICENSE.md).\n\n[Back to top](#table-of-contents)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakanass%2Frx-crypto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakanass%2Frx-crypto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakanass%2Frx-crypto/lists"}