Command line tool utility to generate random entropic password
Project description
Random Password Generator
rpg v0.0.1
What is rpg?
Rpg stands for Random Password Generator, it's a utility command line tool that allows you to generate random entropic password.
Installation
pip install random-password-genrator-cli
Advice
- Use rpg to generate random entropic password
- Check if your password has already been leaked here: haveibeenpwned
- Avoid to use a short password, try to use only passwords with 16+ characters.
- Do not share your passwords with any one.
- Do not reuse a password.
Usage
rpg [OPTIONS] <pass-length>
<pass-length>
it's your desire password length, please note that it MUST BE at lease 12
We do this to ensure to provide a strong password.
In our opinion you should never use a password lower then 16 characters.
[OPTIONS]
are:
-n, --number <pass-number>
: generate<pass-number>
passwords-o, --output <out-file>
: write generated passwords into<out-file>
-nL, --no-lower
: remove lower-case charsets-nU, --no-upper
: remove upper-case charsets-nD, --no-digits
: remove digits charsets-nP, --no-punctuation
: remove punctuation charsets-v, --verbose
: print verbose output-V, --version
: print rpg version-h, --help
: print help text
Examples
Generate a 16 character password:
$ rpg 16
Passwords:
6=L!Sda7~7xU5V@m
The entropy of generated password is: 104.8734216268422
Generate a 20 character password without lower-case charsets
$ rpg 20
Passwords:
.T(89$!OPT4C{1088LS=
The entropy of generated password is: 121.7492568250068
Generate five 20 character passwords without punctuation charsets
$ rpg -n 5 20
Passwords:
zW9z4974ciLgkP9hT3CC
grX01Bd6MkQj01Y72dOa
XtPmY88o2X87QaaA54bL
dxhk9EYu7IJ4uS2d6Q66
3Wr04RnOlV4h4c5Fvo6D
The entropy of generated password is: 119.08392620773752
Generate five 12 character passwords and save them into pw-out.txt
$ rpg -n 5 -o pw-out.txt 12
Passwords:
.HHc'd2sK2\7
Y5=3"da`W9aB
60U">By<Z7db
j9N4W5Tvu;'@
8F,l<Oej6$M6
The entropy of generated password is: 78.65506622013166
pw-out.txt
$ cat pw-out.txt
Passwords:
.HHc'd2sK2\7
Y5=3"da`W9aB
60U">By<Z7db
j9N4W5Tvu;'@
8F,l<Oej6$M6
Entropy: 78.65506622013166
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for random-password-generator-cli-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03f3c18d3658a10515f07f3776e31ced91d6daa435865865fb603fc896ee2446 |
|
MD5 | 5532247480c629c28975ae697be816dc |
|
BLAKE2b-256 | b6a10d2e027196715aa0295d0b4c3062d5041d4c827cb019334f5bcb24f4372f |
Hashes for random_password_generator_cli-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10f793d2018555a865ae52d20d94d10bad7aaf5fd9367437af389d6bee14b9b5 |
|
MD5 | 411577356950d0ff8a6a8111fd4502f2 |
|
BLAKE2b-256 | 016a62b88a9482a4abea9f4dca51ffef61f36cb97059407fe35bb955cb9bbb41 |