Ana Sayfa / Kod ve Scriptler / PassForge NodeJS Password and PIN Generator

PassForge NodeJS Password and PIN Generator

Politika ön ayarları, paylaşım, dışa aktarma ve denetim günlükleriyle kendi sunucunuzda çalışan Node.js parola, parola cümlesi ve PIN üreteci.

  • Yayın tarihi10 Kasım 2026
  • Paket içeriği.css, .html, .ts, .tsx, .jsx, .json, .md, .yml/.yaml, package.json, Dockerfile, JavaScript .js
  • Son güncelleme10 Kasım 2026
  • Canlı demoVar
PassForge NodeJS Password and PIN Generator

Overview

Passwords generated where they belong — in the browser.

PassForge is a complete, self-hosted password, passphrase and PIN generator for teams and individuals who do not want secrets crossing the network. Every secret is produced locally with the Web Crypto API. The Node.js server stores named policies, expiring share links and an audit trail — it never receives a generated password.

Three generators, one precise policy engine

  • Password — 4 to 128 characters with independent lower/upper/digit/symbol classes, per-class minimums, ambiguous-character exclusion (Il1O0o|) and custom symbols.
  • Passphrase — 3 to 12 words from the 7,776-word EFF large list, custom separator, capitalization and optional digit.
  • PIN — 4 to 12 digits with leading zeros preserved.

Strength you can defend

Instead of a vague colour bar, PassForge computes the exact entropy of the active policy using exponential generating functions in log space, then shows offline (1010 guesses/s) and online (100 guesses/s) crack-time estimates. The model is cross-checked against brute-force enumeration in the test suite.

Built for real use

  • Batch generation — up to 500 unique secrets per run.
  • CSV and JSON export — escaped, download-ready files.
  • Preset library — save up to 50 policies per account; apply or update in one click.
  • Read-only sharing — 160-bit links with a 7-day expiry, revocable at any time. Policies only, never secrets.
  • Audit trail — sign-ins, preset changes and share lifecycle events, scoped per account.
  • Copy with auto-clear — optional 30-second clipboard clear.
  • Keyboard-first — press R or Space to regenerate; full focus management and live announcements.

Security and privacy by construction

  • Cryptographically secure randomness only — crypto.getRandomValues, rejection sampling, no modulo bias, unbiased Fisher–Yates shuffle.
  • Zero telemetry, zero analytics, zero third-party assets or CDNs.
  • Strict CSP (default-src 'self', no inline scripts), HSTS, COOP/CORP, no-referrer, nosniff.
  • scrypt password hashing, SHA-256-hashed opaque session tokens, HttpOnly/SameSite cookies and CSRF double-submit.
  • Zod validation on every input, prepared SQL statements, per-route rate limits and ownership-safe 404s.
  • Docker image runs non-root with a read-only root filesystem, all capabilities dropped and a healthcheck.

English and 中文. Dark and light.

The interface is fully bilingual with persisted language and theme preferences, responsive down to mobile, and audited with axe against WCAG 2.1 A/AA on every route.

What you receive

  • Complete Node.js 22.5+ / React 18.3 source, TypeScript throughout, no native modules.
  • Unit, integration and real-browser end-to-end tests — 90 tests and 39 e2e checks passing, 93.8% statement coverage.
  • Multi-stage Dockerfile, docker-compose.yml, environment template and healthcheck.
  • README, INSTALL, DEPLOYMENT, architecture and security guides, changelog.
  • Seeded demo accounts and sample presets for an instant trial.

Try it

A seeded public demo is available at passforge-demo-nine.vercel.app. Demo credentials are included in the reviewer note and the buyer documentation. The generator, presets, audit and sharing flows are all live; the serverless demo may reset data between sessions, while the self-hosted package persists to a Docker volume.

Requirements

Node.js 22.5 or newer (Node 24 LTS recommended), npm, a modern browser. Docker is optional but recommended for production. SQLite is embedded; no MySQL, Redis or external service is required.

Features

Three modes: password (4-128 chars), passphrase (3-12 EFF-large words), PIN (4-12 digits) Client-side CSPRNG generation with rejection sampling and zero modulo bias Exact entropy in bits plus offline and online crack-time estimates Per-class minimums, ambiguous-character exclusion, custom symbols Batch generation up to 500 unique secrets CSV and JSON export Preset library, 50 policies per account Read-only share links with 7-day expiry and revocation Audit trail for sign-ins, preset changes and shares Copy-with-auto-clear and keyboard regeneration (R / Space) English and Chinese UI, dark and light themes WCAG 2.1 A/AA, keyboard-first, axe-clean scrypt passwords, hashed sessions, CSRF, CSP, rate limits Docker image: non-root, read-only root, healthcheck 90 tests, 39 real-browser e2e checks, 93.8% statement coverage

Requirements

Node.js 22.5 or newer (Node 24 LTS recommended) and npm 10+ Modern browser with Web Crypto (Chrome, Edge, Firefox, Safari) Docker 24+ optional, for the recommended production deployment No MySQL, PostgreSQL, Redis, external API or third-party account required SQLite is embedded through node:sqlite