Skip to content

CCecilia/simple_password_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple_password_generator

ci

CLI

Running from the binary file

$ ./spg --length 16
$ Password: D2sb9NV7@XjQQ&#

Available Flags

Short Long Description Default
--length Length of password 8
-u --ucase-only Only use uppercase aplha characters false
-l --lcase-only Only use lowercase aplha characters false
-n --no-numbers Don't include any number false
-s --no-special Dont include any special characters false
-h Help
-v version

Lib

use simple_password_generator::PasswordGenerator;

fn main() {
    let password = PasswordGenerator::new().length(password_length).generate();

    println!("Password: {}", password);
}

About

Simple CLIpassword generator written in rust.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages