Expand description
§Comprehensive Password Generator
This cross-platform compatible software will generate a password comprehensively.
§Features
Admittedly, the word “comprehensive” is not a scientific term. In this software, the term “comprehensive” boasts the following features when generating a password:
- No characters are repeated (unless explicitly allowed).
- Ensure at least one of each type of character is present:
- uppercase letters
- lowercase letters
- decimal integers (if permitted)
- special characters (if permitted)
- Ensure the first character is a letter (if enabled). When enabled, the first character will be either a uppercase or lowercase alphabetical letter.
§What is a “special” character?
This software uses the following set of characters to generate special characters in a password:
- . / \ : ` + & , @ $ ! _ # % ~
The space character is not actually considered a special character, but spaces are used to make the above set more readable.
Obviously, this is not an exhaustive list of all printable, non-alphanumeric characters. However, these are special characters that are widely accepted by most sign-on services.
§Command Line Interface
While this software can be used as a library, a binary executable is also provided for each release.
A document generated from the rust sources details the CLI options. See the hosted CLI doc.
The following command will print the available options and their default values.
mk-pass -hStructs§
- Password
Requirements - A structure to describe password requirements.
Constants§
- DECIMAL
- The list of possible decimal used when generating a password.
- LOWERCASE
- The list of possible lowercase letters used when generating a password.
- SPECIAL_
CHARACTERS - The list of possible special characters used when generating a password.
- UPPERCASE
- The list of possible uppercase letters used when generating a password.
Functions§
- generate_
password - Generate a password given the constraints specified by
config.