A fast, secure password generator CLI built in Rust.
- π Cryptographically secure random generation
- π Password strength/entropy analysis
- π¨ Color-coded output (uppercase, lowercase, digits, symbols)
- βοΈ Highly customizable character sets
- π Generate multiple passwords at once
- β‘ Blazing fast
# Clone the repo
git clone https://github.com/littleKitchen/PassGen.git
cd PassGen
# Build
cargo build --release
# Run
./target/release/PassGen# Generate a 16-character password (default)
passgen
# Generate a 24-character password
passgen -l 24
# Generate 5 passwords
passgen -c 5
# No symbols (alphanumeric only)
passgen --no-symbols
# No uppercase
passgen --no-upper
# Digits only (like a PIN)
passgen --no-lower --no-upper --no-symbols -l 6
# Exclude ambiguous characters
passgen -e "0O1lI"
# Custom characters only
passgen --no-lower --no-upper --no-digits --no-symbols --custom "abc123!@#"| Flag | Description | Default |
|---|---|---|
-l, --length |
Password length | 16 |
-c, --count |
Number of passwords | 1 |
--no-lower |
Exclude lowercase letters | false |
--no-upper |
Exclude uppercase letters | false |
--no-digits |
Exclude digits | false |
--no-symbols |
Exclude symbols | false |
--custom |
Add custom characters | - |
-e, --exclude |
Exclude specific characters | - |
-C, --copy |
Copy to clipboard | false |
π Password Generator
ββββββββββββββββββββββββββββββββββββββββ
Length: 20 | Charset: 88 chars | Entropy: 129.2 bits
Strength: Very Strong
ββββββββββββββββββββββββββββββββββββββββ
[1] 5m2Qyn@J%1$?dv}r^@z^
[2] 8&MBO;.8Q9cQ,%b|fy.l
[3] _qAkd5]2$4#17n*5@qrr
| Entropy | Strength |
|---|---|
| < 28 bits | Very Weak |
| 28-35 bits | Weak |
| 36-59 bits | Reasonable |
| 60-127 bits | Strong |
| β₯ 128 bits | Very Strong |
MIT
Yuxuan Che