A fast, local-first password & token generator with cryptographically secure entropy.
Madmax Pass is a desktop application built with Tauri that generates ultra-secure passwords and
random tokens entirely on your machine. All cryptographic operations are performed in Rust using the OS's secure random
number generator (OsRng). No network calls, no telemetry, no data leaves your device.
The app features a clean, minimal dashboard with three tools:
| Description | |
|---|---|
| ๐ Local-Only | Zero network access. Everything happens on your machine. |
| โก Secure Randomness | Uses Rust's OsRng for cryptographically secure random number generation. |
| ๐ง Password Analysis | Real-time entropy calculation, character pool analysis, and classical vs. quantum crack-time estimates. |
| ๐ก๏ธ Quantum-Safe Mode | Enforces all character sets and a minimum length of 40 to resist quantum computing attacks (โฅ128 bits of entropy). |
| ๐งน Memory Safe | Intermediate password buffers are securely zeroed from memory after use (zeroize). |
| ๐ Clipboard Integration | One-click copy to clipboard with visual feedback. |
| ๐ Dark & Light Themes | Toggle between dark and light modes; preference is persisted locally. |
flowchart TB
subgraph Frontend["Frontend โ Vite + TypeScript + Tailwind CSS v4"]
direction LR
UI["UI Layer"]
TS["TypeScript Logic"]
end
subgraph Backend["Backend โ Tauri v2 + Rust"]
direction LR
PW["Password Generator"]
TK["Token Generator"]
AN["Password Analyzer"]
CR["Crack-Time Estimator"]
end
Frontend <-->|" IPC Commands "| Backend
| Concern | Implementation |
|---|---|
| Randomness Source | rand::rng() backed by OsRng, seeded from the operating system's CSPRNG. |
| Uniform Distribution | Rejection sampling ensures every selected character set is represented, followed by a cryptographically secure Fisher-Yates shuffle. |
| Memory Hygiene | The zeroize crate securely clears intermediate password buffers from heap memory after generation. |
| Length Enforcement | Hard limits between 4 and 4,096 characters. |
| Quantum Resistance | A dedicated "Quantum Safe" mode enforces the full character pool (lowercase, uppercase, digits, symbols) and a minimum length of 40, yielding โฅ128 bits of entropy. |
| Crate | Purpose |
|---|---|
tauri |
Desktop application framework |
rand |
CSPRNG and secure shuffling |
zeroize |
Secure memory wiping |
base64 |
Token encoding |
bun install
Web UI only (hot-reload, no Rust backend):
bun dev
Full Tauri application (Rust + Web UI):
bun tauri dev
bun tauri build
The compiled application will be available in src-tauri/target/release/bundle/.
cd src-tauri
cargo test
cd src-tauri
cargo bench
The benchmark suite (password_bench) measures password generation throughput using Criterion.
String.MIT