genpwd

Crates.iogenpwd
lib.rsgenpwd
version0.2.0
sourcesrc
created_at2020-08-30 16:33:29.957206
updated_at2021-12-26 11:42:47.276539
descriptionThis program generates a randomized password from character classes. Character classes are [a-z], [A-Z], [0-9] and special sign !"$%&/?\(){}[]+*~#'<>|,;.:-_.
homepagehttps://github.com/obr-rs/genpwd
repositoryhttps://github.com/obr-rs/genpwd
max_upload_size
id282753
size17,127
(obr-rs)

documentation

https://docs.rs/genpwd

README

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".
Commit count: 8

cargo fmt