diff options
author | tony <tsyrogit@users.noreply.github.com> | 2022-04-07 18:17:28 +0100 |
---|---|---|
committer | tony <tsyrogit@users.noreply.github.com> | 2022-04-07 18:17:28 +0100 |
commit | 0745d23a835be0e61fad61ec44fafff8376055b0 (patch) | |
tree | 05c5b56ccccf69ac3794248e7587dc84e1676950 /zxcvbn.h | |
parent | 248b59f89acab8a7484b377b87994f897d982f89 (diff) | |
download | zxcvbn-c-0745d23a835be0e61fad61ec44fafff8376055b0.tar.gz |
Limit full entropy estimation to the first 100 characters of a password to limit
the processing time of very long passwords. Use a simple low entropy estimation
for the remaining characters of a longer password.
Diffstat (limited to 'zxcvbn.h')
-rw-r--r-- | zxcvbn.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -62,6 +62,7 @@ typedef enum SPATIAL_MATCH, /* 8 */ DATE_MATCH, /* 9 */ YEAR_MATCH, /* 10 */ + LONG_PWD_MATCH, /* 11 */ MULTIPLE_MATCH = 32 /* Added to above to indicate matching part has been repeated */ } ZxcTypeMatch_t; |