{"repo":"rzcoder/node-rsa","free":true,"listed":false,"github":"https://github.com/rzcoder/node-rsa","clone":"git clone https://github.com/rzcoder/node-rsa.git","description":"Node.js RSA library","language":"TypeScript","stars":1380,"topics":["rsa","crypto","nodejs","signing"],"license":"MIT","category":"dev-tools","readme_excerpt":"Node-RSA RSA library for Node.js and browsers. Pure TypeScript Works in Node.js and modern browsers (no Buffer/crypto polyfills needed) Generating keys Encrypting and decrypting, with long-message support Signing and verifying Table of contents Example Installing Usage Create instance Import/Export keys Properties Encrypting/Decrypting Signing/Verifying Browser usage Security notes Migrating Changelog License Acknowledgements Example Installing Requires Node.js = 20. For browsers, any bundler with conditional-exports support (Vite, Webpack 5, Rollup, esbuild, Parcel) picks the browser entry automatically. Testing Usage Create instance keyData — string Uint8Array object — key data in one of the supported formats, or a generation spec. format — string — format id for importing the key. See Import/Export. options — object — additional settings (below). Options You can pass options as the second/third constructor argument, or later via key.setOptions() . environment — 'node' or 'browser' . Auto-detected from the loaded bundle; the option mainly exists to force the pure-JS engine on Node ( setOptions({ environment: 'browser' }) ), bypassing the node:crypto fast path — useful if you need PSS with a custom MGF. bigIntImpl — 'native' or 'jsbn' . The browser bundle defaults to native ES2020 BigInt ; the Node bundle uses jsbn. Switch only before importing/generating a key; switching on a populated instance throws. signingScheme — scheme used for sign / verify . One of 'pss' (default), ","default_branch":null,"files":null,"tree":[],"storefront":"/r/rzcoder","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rzcoder/node-rsa/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}