logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Data::Password::zxcvbn::Match::BruteForce - special match class for brute-force guesses

Author

       Gianni Ceccarelli <gianni.ceccarelli@broadbean.com>

Description

       This class represents the guess that a certain substring of a password can't be guessed any other way
       than by going through all the characters combinations one by one.

       This kind of matches is not generated by "omnimatch": it's used internally by "most_guessable_match_list"
       to cover unmatched substrings, and as a fallback in the calculations.

Methods

"estimate_guesses"
       The number of guesses is exponential on the length of the token.

   "new"
         my $match = Data::Password::zxcvbn::Match::BruteForce->new(
           password => $password,
           i => 2, j => 5,
         );

       Returns a match object covering the substring of $password between the "i"th and "j"th character.

   "feedback_warning""feedback_suggestions"
       This class does not provide any feedback.

Name

       Data::Password::zxcvbn::Match::BruteForce - special match class for brute-force guesses

Version

       version 1.1.2

See Also