Interface Guess

    • Field Detail

      • BRUTEFORCE_CARDINALITY

        static final int BRUTEFORCE_CARDINALITY
        Cardinality used in brute force attacks.
        See Also:
        Constant Field Values
      • MIN_SUBMATCH_GUESSES_SINGLE_CHAR

        static final int MIN_SUBMATCH_GUESSES_SINGLE_CHAR
        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
        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
        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
        Reference year used for date-based pattern evaluations.
    • Method Detail

      • exec

        double exec​(Match match)
        Evaluates the given Match and estimates the number of guesses required to crack it.
        Parameters:
        match - the matched pattern to evaluate.
        Returns:
        the estimated number of guesses required to crack the given match.