OsoianMarcel / pasgen

CLI Password Generator written in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pasgen

CLI Password Generator written in C++

license

Building

Run make then check the output folder

How to use

Help section:

$ ./output/pasgen -h
        [CLI Password Generator]
-l      Password length (default: 32)
-c      Caracter set (n: number, l: lowercase, u: uppercase, s: symbols) (default: nul)
-n      Number of passwords to generate (default: 1)
-us     Generate and use additionally user seed (experimental)
-h      Help

Example #1: Generate a password with 32 characters (no symbols)

$ ./output/pasgen 
XUr9MG308gSnXstz4x1Q1118P3WHOTil

Example #2: Generate [-n 3] passwords, with [-l 16] characters, with following character sets: [-c] [n]umeric, [u]ppercase, [l]owercase and [s]ymbol characters

$ ./output/pasgen -n 3 -l 16 -c nuls
D8S"n1}18Ajr`sP2
F*_}w!lC9<Fh~[+5
8#D2rW"4'h0=Jz36

Contribute

Contributions to the package are always welcome!

License

All contents of this package are licensed under the MIT license.

About

CLI Password Generator written in C++

License:MIT License


Languages

Language:C++ 78.2%Language:Makefile 21.8%