Package com.nulabinc.zxcvbn
Interface Guess
-
public interface Guess
Deprecated.This interface is deprecated. UseGuess
instead.Represents a strategy for estimating the number of guesses required to crack a givenMatch
.Implementations of this interface are expected to evaluate the strength or weakness of a matched pattern within a password and return an estimated guess number.
- See Also:
Match
-
-
Field Summary
Fields Modifier and Type Field Description static int
BRUTEFORCE_CARDINALITY
Deprecated.Cardinality used in brute force attacks.static int
MIN_SUBMATCH_GUESSES_MULTI_CHAR
Deprecated.Minimum number of guesses when the sub-match contains multiple characters.static int
MIN_SUBMATCH_GUESSES_SINGLE_CHAR
Deprecated.Minimum number of guesses when the sub-match contains a single character.static int
MIN_YEAR_SPACE
Deprecated.The minimum range of years to be considered when evaluating date-based patterns.static int
REFERENCE_YEAR
Deprecated.Reference year used for date-based pattern evaluations.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description double
exec(Match match)
Deprecated.Evaluates the givenMatch
and estimates the number of guesses required to crack it.
-
-
-
Field Detail
-
BRUTEFORCE_CARDINALITY
static final int BRUTEFORCE_CARDINALITY
Deprecated.Cardinality used in brute force attacks.- See Also:
- Constant Field Values
-
MIN_SUBMATCH_GUESSES_SINGLE_CHAR
static final int MIN_SUBMATCH_GUESSES_SINGLE_CHAR
Deprecated.Minimum number of guesses when the sub-match contains a single character.- See Also:
- Constant Field Values
-
MIN_SUBMATCH_GUESSES_MULTI_CHAR
static final int MIN_SUBMATCH_GUESSES_MULTI_CHAR
Deprecated.Minimum number of guesses when the sub-match contains multiple characters.- See Also:
- Constant Field Values
-
MIN_YEAR_SPACE
static final int MIN_YEAR_SPACE
Deprecated.The minimum range of years to be considered when evaluating date-based patterns.- See Also:
- Constant Field Values
-
REFERENCE_YEAR
static final int REFERENCE_YEAR
Deprecated.Reference year used for date-based pattern evaluations.
-
-