A Rust library generating phonetic passwords and pass phrases.
Generating 10 random passwords
let gp = Gpw::<English>::new();
let pw_length = 10;
for _ in 0..10 {
let pw = gp.generate_password(pw_length);
println!("{}", pw);
}
Generating 10 random pass phrases
let gp = Gpw::<English>::new();
let pp_length = 20;
for _ in 0..10 {
let pw = gp.generate_passphrase(pp_length);
println!("{}", pw);
}
cargo test
Or to see passwords generated by tests
cargo test -- --nocapture
Thank you to Tom Van Vleck for algorithmns and dictionary data. See more here: http://www.multicians.org/thvv/gpw-js.html
This project is licensed under the MIT License - see the LICENSE.md file for details.