Interface Guess


  • public interface Guess
    Deprecated.
    This interface is deprecated. Use Guess instead.
    Represents a strategy for estimating the number of guesses required to crack a given Match.

    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 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.
    • Method Detail

      • exec

        double exec​(Match match)
        Deprecated.
        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.