a simple password generator.
hpg is a free, open source password generator. It's design is pretty simple and it generates random passwords between 1 and 2^16 -1 characters.
HPG(1) - General Commands Manual
NAME
hpg - simple password generator
SYNOPSIS
hpg [-N] [-lnsu] [-xlength]
DESCRIPTION
The hpg utility creates passwords of different sizes, between 1 and 2^16 -1 characters. Please note that a length of <8 is not very secure and should be avoided. For this reason the default password length is 16 if the command is called without any options. The default entropy contains lower and upper case letters as well as numbers.
-l
Enables lower case letters.
-N
Disables the printing of the trailing newline character.
-n
Enables numbers.
-s
Enables special characters.
-u
Enables upper case letters.
-xlength
Selects the length of the password.
EXIT STATUS
The hpg utility exits 0 on success, and >0 if an error occurs.
EXAMPLES
Create a new random password:
$ hpg -lnsu -x 32
AUTHORS
Fritjof Bornebusch <[email protected]>