{"id":17697405,"url":"https://github.com/harzu/wasm-rsa","last_synced_at":"2025-08-20T04:23:53.766Z","repository":{"id":44996066,"uuid":"170190674","full_name":"Harzu/wasm-rsa","owner":"Harzu","description":"rsa library with webAssembly rust implementation - https://harzu.github.io/wasm-rsa/","archived":false,"fork":false,"pushed_at":"2023-01-20T23:43:08.000Z","size":509,"stargazers_count":17,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-14T11:04:29.028Z","etag":null,"topics":["cryptography","rsa","rust","typescript","wasm","webassembly"],"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/Harzu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-11T19:43:44.000Z","updated_at":"2024-10-09T18:12:39.000Z","dependencies_parsed_at":"2023-02-12T06:46:34.691Z","dependency_job_id":null,"html_url":"https://github.com/Harzu/wasm-rsa","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Harzu/wasm-rsa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harzu%2Fwasm-rsa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harzu%2Fwasm-rsa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harzu%2Fwasm-rsa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harzu%2Fwasm-rsa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Harzu","download_url":"https://codeload.github.com/Harzu/wasm-rsa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harzu%2Fwasm-rsa/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260044506,"owners_count":22950755,"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":["cryptography","rsa","rust","typescript","wasm","webassembly"],"created_at":"2024-10-24T14:47:22.966Z","updated_at":"2025-06-15T20:09:31.650Z","avatar_url":"https://github.com/Harzu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WASM RSA\n[![npm downloads](https://img.shields.io/npm/dt/wasm-rsa.svg)](https://www.npmjs.com/package/wasm-rsa)\n[![npm](https://img.shields.io/npm/v/wasm-rsa.svg?maxAge=2592000)](https://www.npmjs.com/package/wasm-rsa)\n\nWebAssembly rsa library for generate keys and sign/verify message in nodejs and browsers\n\n## Install\n```shell\nnpm i wasm-rsa\n```\n\n## Examples\n\nwebpack 4 example - [webpack_four](https://github.com/Harzu/wasm-rsa/tree/master/examples/webpack_four)\n\n## Docs - [Click here](https://harzu.github.io/wasm-rsa/)\n\n## Usage\n```javascript\nimport RSASetup from 'wasm-rsa'\n\n// Promise syntax\nRSASetup().then(rsaInstance =\u003e {\n  // code...\n})\n\n// Async/Await syntax\nconst rsaInstance = await RSASetup()\n// code...\n```\n\n## TypeScript\n\nfor typescript can import interface\n```javascript\nimport RSASetup, { RSAInterface } from 'wasm-rsa'\n```\n\n## For developers\n\ninstall rust\n```shell\ncurl https://sh.rustup.rs -sSf | sh\nrustup target add wasm32-unknown-unknown\ncargo check --target wasm32-unknown-unknown\n```\n\ninstall wasm-pack cli\n```shell\ncurl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh;\n```\n\nclone repo\n```shell\ngit clone https://github.com/Harzu/wasm-rsa.git\n```\n\nbuild\n```shell\nnpm run build\n```\n\nRun test\n```shell\nnpm run test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharzu%2Fwasm-rsa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharzu%2Fwasm-rsa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharzu%2Fwasm-rsa/lists"}