Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

PassGen 🔐

A fast, secure password generator CLI built in Rust.

Features

  • 🔒 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

Installation

# Clone the repo
git clone https://github.com/littleKitchen/PassGen.git
cd PassGen

# Build
cargo build --release

# Run
./target/release/PassGen

Usage

# 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!@#"

Options

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

Example Output

🔐 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

Password Strength

Entropy Strength
< 28 bits Very Weak
28-35 bits Weak
36-59 bits Reasonable
60-127 bits Strong
≥ 128 bits Very Strong

License

MIT

Author

Yuxuan Che

About

🔐 A fast, secure password generator CLI built in Rust

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages