@hackage hpg0.6

a simple password generator

HPG(1) - General Commands Manual

NAME

hpg - simple password generator

SYNOPSIS

hpg [-N] [-lnsu] [-x length]

DESCRIPTION

The hpg utility creates passwords of different sizes, between 1 and 2^16 characters. Please note that a lenght of <8 is not very secure and should be avoided. That is why the default value is 16 if the command is called without any options. The default entropy contains lower and upper case letters and 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.

-x length

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 <fritjof@alokat.org>

OpenBSD 6.1 - March 21, 2017