Smart Password Generator CLI (C#)

Terminal-based smart password generator with deterministic password generation

Generate passwords from secret phrases - same secret always produces the same password, no storage required.


Smart Password Generator CLI (C#) - terminal-based smart password generator with deterministic password generation. Generate passwords from secret phrases - same secret always produces the same password, no storage required. All from your command line.

Decentralized by Design: Unlike traditional password managers that store encrypted vaults on central servers, Smart Password Generator stores nothing. Your secrets never leave your device. Passwords are generated on-demand - no cloud, no database, no trust required.

Cross-Platform: Windows, Linux support.

  • Zero-Storage Security - no passwords or secret phrases are ever stored or transmitted
  • Decentralized Architecture - no central servers, no cloud dependency
  • Deterministic Generation - same secret + same length = same password, every time
  • Memory-Based Security - your brain is the only password database
  • Cross-Platform - Windows, Linux support
  • Multi-Mode Generation - smart passwords, strong random, auth codes, public keys, verification

  • Decentralized & Serverless - no central database, no cloud lock-in
  • Smart Password Generation - deterministic from secret phrase
  • Dynamic Iteration Counts - 15-30 for private key, 45-60 for public key
  • Public Key Generation - generate verification key from secret
  • Secret Verification - verify secret against public key
  • Strong Random Passwords - cryptographically secure random passwords
  • Authentication Codes - short codes for 2FA/MFA (4-100 chars)
  • Interactive Mode - menu-driven interface for easy use
  • Command-Line Mode - scriptable generation for automation
  • Hidden Input - secret phrase entry with asterisks masking

Powered by smartpasslib-csharp - C# implementation of deterministic password generation.

Key derivation (same as Python/JS/Kotlin/Go/Rust versions v4.0.0):

Key TypeIterationsPurpose
Private Key15-30 (dynamic)Password generation (never stored, never transmitted)
Public Key45-60 (dynamic)Verification (stored locally)

Character Set (Google-compatible):

!@#$%^&*()_+-=[]{};:,.<>?/ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz

Validation Rules: Secret phrase: min 12 chars · Password length: 12-100 chars · Code: 4-100 chars

Pre-built Binaries (no .NET required):

Just download, run in terminal, and start using.

# Windows
smart-password-generator-windows-x64.exe

# Linux
./smart-password-generator-linux-x64

================================================================================
                       SMART PASSWORD GENERATOR (C#) CLI
================================================================================

 MAIN MENU
 1. Generate Smart Password
 2. Generate Strong Random Password
 3. Generate Auth Code
 4. Show Public Key
 5. Verify Secret
 6. Help
 0. Exit

Select option:

# Generate smart password (deterministic, CROSS-PLATFORM!)
smart-password-generator-windows-x64 smart "MyStrongSecretPhrase2026!" 16

# Generate strong random password
smart-password-generator-windows-x64 strong 20

# Generate auth code (2FA)
smart-password-generator-windows-x64 code 8

# Generate public key from secret
smart-password-generator-windows-x64 public "MyStrongSecretPhrase2026!"

# Verify secret against public key
smart-password-generator-windows-x64 verify "MyStrongSecretPhrase2026!" "a1b2c3d4..."

# Show help
smart-password-generator-windows-x64 help

CommandDescription
smart <secret> <length>Generate deterministic password (12-100 chars)
strong <length>Generate cryptographically random (12-100 chars)
code <length>Generate auth code (4-100 chars)
public <secret>Generate public key from secret
verify <secret> <public_key>Verify secret against public key
helpShow help information

Security Model:

  • Proof of Knowledge - public keys verify secrets without exposing them
  • Decentralized Trust - no third party needed
  • Deterministic Certainty - mathematical certainty in password regeneration
  • Ephemeral Passwords - passwords exist only in memory during generation
  • Local Computation - no data leaves your device
  • No Recovery Backdoors - lost secret = permanently lost passwords

Secret Phrase Requirements:

  • Minimum 12 characters (enforced)
  • Case-sensitive
  • Use mix of: uppercase, lowercase, numbers, symbols
  • Never store digitally
  • NEVER use your password description as secret phrase

Strong Secret Examples:

"MyStrongSecretPhrase2026!"   - mixed case + numbers + symbols
"P@ssw0rd!LongSecret"         - special chars + numbers + length
"КотБегемот2026НаДиете"       - Cyrillic + numbers

Weak Secret Examples (avoid):

"short"                       - too short, rejected
"password"                    - dictionary word, too short
"1234567890"                  - only digits, too short
"qwerty123"                   - keyboard pattern

  • Pointer-Based Security Paradigm - 10.5281/zenodo.17204738
    Architectural Shift from Data Protection to Data Non-Existence
  • Local Data Regeneration Paradigm - 10.5281/zenodo.17264327
    Ontological Shift from Data Transmission to Synchronous State Discovery

By using this software, you agree to the full disclaimer terms.

Software provided "AS IS" without warranty. You assume all risks.

Full legal disclaimer: See DISCLAIMER.md

License: BSD 3-Clause License