Smart Password Generator CLI (C#) v4.0.1
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.
Main Interface

Core Principles
- Zero-Storage Security: No passwords or secret phrases are ever stored or transmitted
- Decentralized Architecture: No central servers, no cloud dependency, no third-party trust required
- 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
Key Features
- Decentralized & Serverless: No central database, no cloud lock-in, complete user sovereignty
- Smart Password Generation: Deterministic from secret phrase
- Dynamic Iteration Counts: 15-30 for private key, 45-60 for public key (deterministic per secret)
- 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
Security Model
- Proof of Knowledge: Public keys verify secrets without exposing them
- Decentralized Trust: No third party needed - you control your secrets completely
- 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 (by design)
Research Paradigms & Publications
Technical Foundation
Powered by smartpasslib-csharp - C# implementation of deterministic password generation.
Key derivation (same as Python/JS/Kotlin/Go/Rust versions v4.0.1):
| Key Type |
Iterations |
Purpose |
| Private Key |
15-30 (dynamic) |
Password generation (never stored, never transmitted) |
| Public Key |
45-60 (dynamic) |
Verification (stored locally) |
Character Set (Google-compatible):
!@#$%^&*()_+-=[]{};:,.<>?/ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz
Validation Rules:
- Secret phrase: minimum 12 characters
- Password length: 12-100 characters
- Code length: 4-100 characters
Decentralized Architecture:
- No central authority required
- Metadata can be synced via any channel
- Your security depends only on your secret phrase
- Works offline - no internet connection required
Download
Pre-built Binaries (no .NET required)
Just download, run in terminal, and start using.
Build from Source
# Clone repository
git clone https://github.com/smartlegionlab/SmartPasswordGeneratorCsharpCli.git
cd SmartPasswordGeneratorCsharpCli
# Run directly (requires .NET SDK)
dotnet run --project SmartPasswordGeneratorCsharpCli/
# Publish single file executable
dotnet publish -c Release -o ./publish
Quick Start
Run the Application
# Windows
smart-password-generator-windows-x64.exe
# Linux
./smart-password-generator-linux-x64
Interactive Menu
================================================================================
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:
Command-Line Mode
# 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
Commands Reference
| Command |
Description |
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 |
help |
Show help information |
Security Requirements
Secret Phrase
- Minimum 12 characters (enforced)
- Case-sensitive
- Use mix of: uppercase, lowercase, numbers, symbols
- Never store digitally
- NEVER use your password description as secret phrase
Password Length Requirements
- Smart/Strong passwords: 12-100 characters
- Auth codes: 4-100 characters
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
Same as description - never use the same value as description
Decentralized Nature
There is no "forgot password" button. This is by design:
- No central server can reset your passwords
- No support team can recover your access
- Your secret phrase is the ONLY key
This is the price of true decentralization - you are completely in control.
Cross-Platform Compatibility
Smart Password Generator (C#) CLI produces identical passwords to:
For Developers
Prerequisites
Build Commands
# Arch Linux
sudo pacman -S dotnet-sdk
# Run
dotnet run --project SmartPasswordGeneratorCsharpCli/
# Build
dotnet build SmartPasswordGeneratorCsharpCli/
# Publish single file
# Windows
dotnet publish -c Release -o ./publish-win -p:AssemblyName=smart-password-generator-windows-x64 -r win-x64 --self-contained true
# Linux
dotnet publish -c Release -o ~/.publish-linux/SmartPasswordGeneratorCsharpCli/ -p:AssemblyName=smart-password-generator-linux-x64 -r linux-x64 --self-contained true
Ecosystem
Core Libraries:
CLI Applications:
Desktop Applications:
Other:
License
BSD 3-Clause License
Copyright (©) 2026, Alexander Suvorov
Author
Alexander Suvorov - GitHub
Support
Disclaimer
By using this software, you agree to the full disclaimer terms.
Summary: Software provided "AS IS" without warranty. You assume all risks.
Full legal disclaimer: See DISCLAIMER.md