No description
Find a file
2021-02-20 16:07:54 -05:00
src Update to passgen 0.2.0 2021-02-20 16:03:37 -05:00
.gitignore Update to passgen 0.2.0 2021-02-20 16:03:37 -05:00
LICENSE Initial commit 2019-10-04 18:21:09 -07:00
npg.nimble Update to passgen 0.2.0 2021-02-20 16:03:37 -05:00
README.md Sync with latest help 2021-02-20 16:07:54 -05:00

npg

Cross-platform password generation utility in Nim, based on passgen library

Installation

nimble install npg

Usage

Usage: npg [options]
  -h, --help    : print this message
  -v, --version : print version

Password options:
  -N=<x> : generate <x> passwords (default = 1)
  -L=<y> : generate <y> character-long passwords
           (default password length = 16, min = 4, max = 1024)

Character sets (default = include all):
  -l     : include lower case letters
  -u     : include upper case letters
  -d     : include digits
  -s     : include special characters

Example  : npg
           generate 1 password, 16 characters-long,
           using all character sets (lower and uppercase letters,
           digits and special characters)

Example  : npg -L=20 -N=10 -lud
           generate 10 passwords, 20 characters-long,
           using alpha-numerical characters only (no special characters)

Example  : npg -N=5 -L=4 -d
           generate 10 4-digit numerical PINs