aboutsummaryrefslogtreecommitdiffhomepage
path: root/zxcvbn.h
diff options
context:
space:
mode:
authortony <tsyrogit@users.noreply.github.com>2022-04-07 18:17:28 +0100
committertony <tsyrogit@users.noreply.github.com>2022-04-07 18:17:28 +0100
commit0745d23a835be0e61fad61ec44fafff8376055b0 (patch)
tree05c5b56ccccf69ac3794248e7587dc84e1676950 /zxcvbn.h
parent248b59f89acab8a7484b377b87994f897d982f89 (diff)
downloadzxcvbn-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zxcvbn.h b/zxcvbn.h
index 9500c7a..10272e7 100644
--- a/zxcvbn.h
+++ b/zxcvbn.h
@@ -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;