|
mk-pass
Generate a password comprehensively
|
A structure to describe the requirements of a password's contents. More...
#include <mk_pass.hpp>
Public Member Functions | |
| bool | operator== (const PasswordRequirements &other) const |
| bool | operator!= (const PasswordRequirements &other) const |
Data Fields | |
| uint16_t | length |
| The length of the password. | |
| uint16_t | decimal |
| How many decimal integer characters should the password contain? | |
| uint16_t | specials |
| How many special characters should the password contain? | |
| bool | firstIsLetter |
| Should the first character always be a letter? | |
| bool | allowRepeats |
| Allow characters to be used more than once? | |
A structure to describe the requirements of a password's contents.
|
inline |
|
inline |
| bool mk_pass::PasswordRequirements::allowRepeats |
Allow characters to be used more than once?
| uint16_t mk_pass::PasswordRequirements::decimal |
How many decimal integer characters should the password contain?
| bool mk_pass::PasswordRequirements::firstIsLetter |
Should the first character always be a letter?
| uint16_t mk_pass::PasswordRequirements::length |
The length of the password.
| uint16_t mk_pass::PasswordRequirements::specials |
How many special characters should the password contain?