Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pdrb/randpw
Random password and passphrase generator
https://github.com/pdrb/randpw
generator passphrase passphrase-generator password password-generator random random-password
Last synced: 7 days ago
JSON representation
Random password and passphrase generator
- Host: GitHub
- URL: https://github.com/pdrb/randpw
- Owner: pdrb
- License: mit
- Created: 2017-12-28T01:05:52.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-03-18T17:18:34.000Z (over 4 years ago)
- Last Synced: 2024-10-11T09:16:19.100Z (about 1 month ago)
- Topics: generator, passphrase, passphrase-generator, password, password-generator, random, random-password
- Language: Python
- Homepage:
- Size: 53.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
|Downloads|
randpw
======Random password and passphrase generator.
Simple password example::
$ randpw
Ex8PfCcIvFeT5GMTSimple passphrase example::
$ randpw -p
unlit race mandatory kelp kindling carmakerShow information about the generated password::
$ randpw -v
tshvJXTYPWtAjyy7Info:
----------------------------------------
- Password Cardinality: 62
- Password Length: 16
- Password Entropy: 95.3 bits
- Password Strength: Strong
- Estimated time to crack using a supercomputer with roughly
one trillion guesses per second: 687 433 358 yearsGenerate a pt-br passphrase and show information about it::
$ randpw -p -i pt-br -v
namorada demandou manteiga bica suavidade imponenteInfo:
----------------------------------------
- Wordlist Size: 7776
- Passphrase Words: 6
- Password Entropy: 77.5 bits
- Password Strength: Strong
- Estimated time to crack using a supercomputer with roughly
one trillion guesses per second: 3 187 years`EFF's long word list `_ is used for generating the english passphrase.
Brazilian Portuguese passphrase is generated using a pt-br wordlist curated by me using the
most frequent spoken words, removing accented and words bigger than 9 and smaller than 4 characters.Notes
=====- Works on Python 2 and Python 3
- Uses only Python standard library for maximum compatibilityInstall
=======Install using pip::
pip install randpw
Usage
=====::
Usage: randpw [options]
random password and passphrase generator
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-s SIZE size of the password (default: 16)
-n COUNT number of passwords to generate (default: 1)
-c CHARS characters to use: 'letters', 'numbers', 'mixed' or 'full'
- uses only letters, only numbers, letters + numbers or
letters + numbers + punctuation (default: mixed)
-l, --lower lowercase letters (default: disabled)
-u, --upper uppercase letters (default: disabled)
-p, --passphrase generate passphrase instead (default: disabled)
-w WORDS number of passphrase words (default: 6)
-i IDIOM idiom of the wordlist: 'en' or 'pt-br' (default: en)
-v, --verbose show some information about the generated passwords like
entropy, strength and estimated time to crack (default:
disabled)Examples
========Random password using only letters::
$ randpw -c letters
LqmTdVhrlflQanzg32 characters password::
$ randpw -s 32
PPb9Qs3HPYDn3T3zddEeSfAuRVXjTHHaGenerate 3 uppercase letters passwords::
$ randpw -n 3 -u
FUU1VKT2FNHJ9NEX
BHIX2CBDXBPZELTZ
BHKENUKXWMA4XFX0Lowercase password cointaing letters, numbers and punctuation::
$ randpw -c full -l
nq6g'2/x23v~ykf@Generate 3 uppercase passphrases with 8 words each::
$ randpw -p -u -n 3 -w 8
CAPTIVE BUFFER PREFIX FREEZABLE ELOQUENT HANDPICK ALARM STAGNANT
PORTFOLIO PAWING SCRUTINY MANIFESTO CAPTIVITY TRAPS STEED IMMORALLY
SHADY YEAST FOOTER EARTHEN SHARPENER APPEASING FOOTPAD SETTLE.. |Downloads| image:: https://pepy.tech/badge/randpw