1 unstable release

0.0.1 Sep 29, 2023

#93 in #password-generator

22 downloads per month

GPL-3.0-only

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.6–11MB
~138K SLoC