Skip to content

πŸ” A fast, secure password generator CLI built in Rust

Notifications You must be signed in to change notification settings

littleKitchen/PassGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages