Interface: passwordModifier

passwordModifier

Interface for object that represents a 'Password Modifier' object used by the simplePass main function.

Note: 1 attribute from the Character Code Constraints object is required for the program to function.

Properties:
NameTypeAttributesDescription
lengthnumber

The length the password should be.

excludeCharactersstring<optional>

A string containing any characters the password should exclude.

lowercaseboolean<optional>

If the password should contain lowercase characters

uppercaseboolean<optional>

If the password should contain uppercase characters.

numbersboolean<optional>

If the password should contain numbers

punctuationboolean<optional>

If the password should contain punctuation.

whitespaceBeginningboolean<optional>

If the password can contain white-space at the beginning.

required_whitespaceBeginningboolean<optional>

If the password is required to contain a white-space in the beginning.

whitespaceEndboolean<optional>

If the password can contain white-space at the end.

required_whitespaceEndboolean<optional>

If the password is required to contain a white-space in the end.

whitespaceBetweenboolean<optional>

If the password can contain white-space in the middle.

max_whitespaceBetweenboolean<optional>

The number of white-spaces to insert in the middle of the password.

repeatingCharacterboolean<optional>

If the password is required to contain a repeating character.

uniqueCharactersboolean<optional>

If the password should only contain unique characters.

max_repeatingCharacternumber<optional>

The number of repeating character sets the password requires.

customRepeatingCharactersstring | Array.<Array.<string>><optional>

A string input of repeating characters that should be repeated in the password. This can also include how many times the character should be repeated in the password; if so, the property will be converted to a list.

lowercase_supplementboolean<optional>

If the password should contain Latin(1) Supplement Lowercase characters.

uppercase_supplementboolean<optional>

If the password should contain Latin(1) Supplement Uppercase characters.

symbols_supplementboolean<optional>

If the password should contain Latin(1) Supplement Symbol characters.

preConfigstring<optional>

If the password should follow a set of pre-configured rules.

Source: