About

Metadata

  • Last updated , by fritjof
  • License ISC
  • Categories Systems Programming
  • Maintained by: fritjof@alokat.org

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    warn-as-error (off by default)

    treat warnings as errors

Readme

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 -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.

-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>