Skip to content

whispem/passgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” PassGen

A simple and secure password generator written in Rust.

Features

  • 🎲 Cryptographically secure random generation
  • πŸ”§ Customizable length
  • πŸ”£ Optional symbols
  • πŸ“Š Generate multiple passwords at once
  • βœ… Full test coverage

Installation

cargo install --path .

Usage

# Generate a password (default: 16 characters)
passgen

# Custom length
passgen --length 20

# With symbols
passgen --symbols

# Generate multiple passwords
passgen --count 5 --length 24 --symbols

Examples

$ passgen --length 12
πŸ” aB3xZ9mQ2pL7

$ passgen --symbols --count 3
πŸ” kT8@wY6^jH5*vC2&
πŸ” fD7#sA4$bN3@zX8%
πŸ” mP9!gQ1^tR4&nL6$

Options

-l, --length <LENGTH>    Length of the password [default: 16]
-s, --symbols            Include symbols (!@#$%^&*)
-c, --count <COUNT>      Number of passwords to generate [default: 1]
-h, --help               Print help

Running Tests

cargo test

Built with

  • πŸ¦€ Rust
  • πŸ“¦ clap (CLI parsing)
  • 🎲 rand (secure random generation)

Author

@whispem

MIT License

About

πŸ” A secure password generator written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages