Crates.io | flowerypassgen |
lib.rs | flowerypassgen |
version | 0.0.1 |
source | src |
created_at | 2023-09-29 21:35:40.71234 |
updated_at | 2023-09-29 21:35:40.71234 |
description | Simple password generator library. |
homepage | https://codeberg.org/tulpenkiste/flowerypassgen |
repository | https://codeberg.org/tulpenkiste/flowerypassgen |
max_upload_size | |
id | 987955 |
size | 3,741 |
A simple password generator library/executable written in Rust.
NOTE:
Not available on cargo yet.
Also doesn't copy text into Klipper (KDE).
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));
}
Example of using the cli:
./fpgcli --symbols=true --duplicates=false --length=32 --max-attempts=512