Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 840 Bytes

README.md

File metadata and controls

38 lines (28 loc) · 840 Bytes

Genpasswd

Strong password generator in your terminal.

Install

git clone https://github.com/everdrone/genpasswd-rs.git
cargo install --path ./genpasswd-rs

Usage

Usage: genpasswd [OPTIONS]

Options:
  -n, --sequences <NUM>   The number of alphanumeric sequences [default: 3]
  -l, --length <NUM>      The length of each sequence [default: 6]
  -d, --digits <NUM>      The total number of digits [default: 1]
  -u, --uppercase <NUM>   The total number of uppercase letters [default: 1]
  -s, --separator <CHAR>  The separator character [default: -]
  -h, --help              Print help
  -V, --version           Print version

Examples:

genpasswd
# Output: st5lqn-kiyohk-hmXwzo

genpasswd -n 2 -l 9 -d 3 -u 3 -s _
# Output: qehlUwwli_4Naek29gz

genpasswd -n1 -l12 -d2 -u10
# Output: 49RXVGLFHIEX