# rzcoder/node-rsa

Node.js RSA library

Repository: https://github.com/rzcoder/node-rsa
Canonical: https://ross.abutalabs.com/products/node-rsa
Language: TypeScript
License: MIT
License Family: permissive
Topics: rsa, crypto, nodejs, signing
Last push: 2026-08-02T04:34:04+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 53, longevity 100
- inputs: {"age_days": 4544, "days_push": 31, "days_rel": 102, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1381, forks 203 (observed 2026-08-28T04:04:34.358938+00:00)

## What it is
A pure TypeScript RSA cryptography library for Node.js and browsers supporting key generation, encryption/decryption, and signing/verification. It supports PKCS1, OAEP, and PSS schemes and works without Buffer/crypto polyfills in modern browsers.

## Use cases
- generate RSA key pairs in node.js
- encrypt and decrypt data with RSA in TypeScript
- sign and verify messages with RSA
- use RSA encryption in the browser
- encrypt long messages with RSA
- implement PSS or PKCS1 signing schemes

## When to choose
- you need RSA encryption, decryption, signing, or verification in Node.js or the browser
- you want a pure TypeScript library with no native dependencies
- you need flexible key import/export formats and signing schemes like PSS or PKCS1

## When to avoid
- you need elliptic-curve or other asymmetric algorithms beyond RSA
- you need a full TLS or certificate management toolkit
- you are on Node.js older than version 20

## Facets
- artifact type: library
- maturity: active
- function: cryptography, security
- domain: security, developer-tools, web-development
- platform: browser, cross-platform
- tags: rsa, encryption, signing, typescript, pkcs1, oaep, pss, asymmetric-crypto, nodejs

## Member repositories
- rzcoder/node-rsa (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:34.358938+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:11.910478+00:00, confidence not recorded.
  - readme: https://github.com/rzcoder/node-rsa (fetched 2026-08-28T04:04:34.358938+00:00, sha 7e5892e2f00c)
  - registry_npm: https://registry.npmjs.org/node-rsa (fetched 2026-08-29T11:56:24.767189+00:00, sha cd3f055a3219)
- Data as of 2026-08-30T08:39:29.467469+00:00.
