#password-generator #character-class #command-line #generating #randomized

app genpwd

This program generates a randomized password from character classes. Character classes are [a-z], [A-Z], [0-9] and special sign !"$%&/?\(){}[]+*~#'<>|,;.:-_.

3 unstable releases

0.2.0 Dec 26, 2021
0.1.1 Aug 30, 2020
0.1.0 Aug 30, 2020

#1976 in Command line utilities

26 downloads per month

MIT/Apache

11KB
146 lines

genpwd - a Rust command line program

This program generates a randomized password from character classes.
The minmum length of generated passwords is 10.
Character classes are [a-z], [A-Z], [0-9] and special sign !"$%&/?\(){}[]+*~#'<>|,;.:-_.

Information

Rust version

Minimum version is 1.54; see: clap, rand

Dependencies

  • clap - Minimum version is 2.34.0
  • rand - Minimum Version is 0.8.4

Usage

genpwd [OPTIONS]

FLAGS:
   -h, --help                  Prints help information
   -V, --version               Prints version information
OPTIONS: -l, --length Minimal length of password \[minimum: 10\] \[default: 12\] -o, --occurrence Minimal occurrence of each character class \[default: 2\]

Examples

>genpwd
9hL]0z.G&r-O
>genpwd -o 4
z16N\6'8NkvyXK(<
>genpwd -l 20
5X,qN~f02143c-2q6>]1
>genpwd -o 3 -l 14
*;4!7c0KHLdc:i

License

genpwd is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See the LICENSE-APACHE and LICENSE-MIT files in this repository for more information.

Changes for version 0.2.0

  • README.md / documentation
  • Help message uses parentheses instead of sqare brackets.
  • Version of dependency clap is "^2.34.0".
  • Version of dependency rand "^0.8.4".

Dependencies

~735KB
~11K SLoC