Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/trskop/hpwgen

Library and command line tool for generating random passwords.
https://github.com/trskop/hpwgen

Last synced: 10 days ago
JSON representation

Library and command line tool for generating random passwords.

Awesome Lists containing this project

README

        

Hpwgen
======

Library and command line tool for generating random passwords. Library API is
very generic allowing to use arbitrary string/text and pseudo random number
generator implementation.

Command line utility
--------------------

Usage:

hpwgen [OPTIONS] [PASSWORD_LENGTH [NUMBER_OF_PASSWORDS]]
hpwgen {-h|--help|-V|--version|--numeric-version}

If `PASSWORD_LENGTH` is not specified it generates passwords with 8 characters.
By default it prints as many passwords as it can fit in to 20 lines of output.
If the stdout is not a terminal, then it prints only one password, but if
`NUMBER_OF_PASSWORDS` is specified, then it overrides the default behaviour.
Only difference between cases when stdout is and isn't TTY is that if it is
then it tries to print passwords in columns.