A simple and secure password generator written in Rust.
- π² Cryptographically secure random generation
- π§ Customizable length
- π£ Optional symbols
- π Generate multiple passwords at once
- β Full test coverage
cargo install --path .# 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$ passgen --length 12
π aB3xZ9mQ2pL7
$ passgen --symbols --count 3
π kT8@wY6^jH5*vC2&
π fD7#sA4$bN3@zX8%
π mP9!gQ1^tR4&nL6$-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
cargo test- π¦ Rust
- π¦ clap (CLI parsing)
- π² rand (secure random generation)