void runMain()
The function used as a native entrypoint for an executable.
PasswordRequirements validateRequirements(const PasswordRequirements *config)
uint16_t generatePassword(char *string, PasswordRequirements config)
A structure to describe the requirements of a password's contents.
Definition mk_pass.hpp:11
uint16_t decimal
How many decimal integer characters should the password contain?
Definition mk_pass.hpp:15
bool firstIsLetter
Should the first character always be a letter?
Definition mk_pass.hpp:19
bool operator!=(const PasswordRequirements &other) const
Definition mk_pass.hpp:29
bool operator==(const PasswordRequirements &other) const
Definition mk_pass.hpp:23
uint16_t specials
How many special characters should the password contain?
Definition mk_pass.hpp:17
uint16_t length
The length of the password.
Definition mk_pass.hpp:13
bool allowRepeats
Allow characters to be used more than once?
Definition mk_pass.hpp:21