Menu

dk-pwgen

Dirk Krause
← Previous ↑ Home → Next

dk-pwgen — Generate password, PINs, and WiFi Keys

Description

The program generates random passwords, PINs and hexadecimal keys (i.e. for WiFi).

This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/)


Examples

Create user password

To create a password, 8 to 10 characters long containg 1 to 3 uppercase characters, 1 to 2 digits and 1 to 2 special characters:

dk-pwgen -l 8-10 -u 1-3 -d 1-2 -s 1-2
Option Purpose
-l 8-10 Entire password is 8 to 10 character positions long.
-u 1-3 1 to 3 characters are upper case.
-d 1-2 1 to 2 digits in the password.
-s 1-2 1 to 2 special characters in the password.

Create harder password

To create a harder password, 8 to 10 characters long mixing upper case characters, lower case characters, digits and special characters at random:

dk-pwgen -h -l 8-10
Option Purpose
-l 8-10 Entire password is 8 to 10 character positions long.
-h Hard password, Upper case and lower case characters, digits and special characters mixed at random.

Create numeric PIN

To create a numeric PIN of 6 digits:

dk-pwgen -p -l 6
Option Purpose
-l 6 Output is 6 character positions long.
-p Create PIN consisting of digits only.

Create hexadecimal key

To create a WiFi key of 60 hexadecimal digits:

dk-pwgen -x -l 60
Option Purpose
-l 60 Output is 60 character positions long.
-x Output consists of hexadezimal digits only.

Manual

See the [dk-pwgen manual] for the full documentation of the program.


This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/).
This product includes cryptographic software written by Eric Young (eay@cryptsoft.com).
This product includes software written by Tim Hudson (tjh@cryptsoft.com).


← Previous ↑ Home → Next

Related

Wiki: Home
Wiki: dk-pwgen manual