1 stable release
1.1.0 | Apr 22, 2023 |
---|---|
1.0.3 |
|
#907 in Authentication
42 downloads per month
7KB
70 lines
Easy and readable password generator
This code is based on and ported to Rust from the password generator created by Christian Haensel, modified by Josh Hartman, and modified by Joseph Kreifels II, which can be found at https://www.warpconduit.net/password-generator/ and here https://jkdos.com/apps/php/passwd-gen/
Requirements
Install
- Install the crate
cargo install pwdgen
- Run the program
pwdgen
Build
- Clone the repository
git clone https://github.com/eabz/pwdgen && cd pwdgen
- Build the program
cargo build --release
- Run the generator
./target/release/pwdgen
Program flags
Flag | Default | Purpose |
---|---|---|
-p, --passwords | 10 | Amount of passwords to generate. |
-l, --length | 14 | Amount of characters for each password. |
Dependencies
~2–12MB
~81K SLoC