Skip to content

cjrh/pwrgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://img.shields.io/badge/download-windows-green.svg?logo=windows https://img.shields.io/badge/download-linux-green.svg?logo=linux

pwrgen

Password and passphrase generator

CLI tool to generate either a passphrase or a password.

Examples

Passphrase with two words:

$ pwrgen phrase -w2
mucorrhea synonymy

Passphrase with three words, and override the word separator:

$ pwrgen phrase -w3 -s "_"
haab_scribatious_phacoidoscope

Password with default settings (default length is 16):

$ pwrgen password
T-_e:XQj7P{;>KqE

Password with custom settings. Disable numbers (-n0), use a custom set of special characters (-s'!@#$'), and also disable uppercase letters:

$ ./target/release/pwrgen password -n0 -s'!@#$' -u0
$mbyqdxu!okj$hnk

Passphrase

$ pwrgen phrase -h
Passphrase made up of dictionary words

USAGE:
    pwrgen phrase [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -s, --separator <separator>      Word separator for passphrase generation [default:  ]
    -w, --word_count <word_count>     [default: 4]

Password

$ pwrgen password -h
Password made up of symbols

USAGE:
    pwrgen password [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -l, --length <length>      Password length [default: 16]
    -w, --lower <lower>        Include lowercase ASCII letters [default: 1]
    -n, --numbers <numbers>    Include numbers [default: 1]
    -s, --special <special>    Include special characters [default: !@#$%^&*(){}[]-+=_:;<>?]
    -u, --upper <upper>        Include uppercase ASCII letters [default: 1]

About

Password and passphrase generator in rust

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published