Skip to content

rustomax/npg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Password generation utility in Nim

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages