1 unstable release
0.0.1 | Sep 29, 2023 |
---|
#119 in #password-generator
28KB
127 lines
Flowery Pass Gen
A simple password generator library/executable written in Rust.
Usage
Library
Example of using the library:
use flowerypassgen::{gen_password, genoptions::GenOptions};
fn example() {
const opts: GenOptions = GenOptions { length: (16), max_attempts: (128), use_symbols: (true), use_duplicate_chars: (false) };
println!("Password: {}", gen_password(&opts));
}
CLI
Example of using the cli:
./fpgcli --symbols=true --duplicates=false --length=32 --max-attempts=512
Dependencies
~0.4–11MB
~146K SLoC