From ebfeb8abdd6a503e880095f07f5cba76dcfcc0d9 Mon Sep 17 00:00:00 2001 From: tony Date: Mon, 24 Oct 2016 09:56:16 +0100 Subject: Add extra entropy if a password is made from multiple matches, also move some controlling #defines to beginning of zxcvbn.c --- zxcvbn.h | 1 + 1 file changed, 1 insertion(+) (limited to 'zxcvbn.h') diff --git a/zxcvbn.h b/zxcvbn.h index db08556..796d6b4 100644 --- a/zxcvbn.h +++ b/zxcvbn.h @@ -79,6 +79,7 @@ struct ZxcMatch int Begin; /* Char position of begining of match */ int Length; /* Number of chars in the match */ double Entrpy; /* The entropy of the match */ + double MltEnpy; /* Entropy with additional allowance for multipart password */ ZxcTypeMatch_t Type; /* Type of match (Spatial/Dictionary/Order/Repeat) */ struct ZxcMatch *Next; }; -- cgit v1.2.3