A fast, secure random password generator with three strength levels: weak, medium, and strong.
This CLI tool generates random passwords with different complexity options:
- Weak: Lowercase letters only (8 characters)
- Medium: Lowercase, uppercase, and numbers (12 characters)
- Strong: All character types including special symbols (16 characters)
cargo build --release# Generate a strong password (default)
cargo run -- --strength strong
# Generate a medium strength password
cargo run -- --strength medium
# Generate a weak password
cargo run -- --strength weak
# Custom length (default strength is strong)
cargo run -- --strength strong --length 20
# Generate 5 passwords
cargo run -- --strength medium --count 5
# Show help
cargo run -- --help$ cargo run -- --strength strong
Generated password: 7kR#mP$xQ2@nL9vB
$ cargo run -- --strength medium --count 3
Generated password: aBc123DeF456
Generated password: XyZ789MnO012
Generated password: pQr345StU678
- Cryptographically secure random generation
- Multiple strength presets
- Custom length and count options
- No external dependencies beyond
randcrate