Scroll to navigation

Data::Password::zxcvbn::Match::BruteForce(3pm) User Contributed Perl Documentation Data::Password::zxcvbn::Match::BruteForce(3pm)

NAME

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

VERSION

version 1.0.4

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.

AUTHOR

Gianni Ceccarelli <gianni.ceccarelli@broadbean.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by BroadBean UK, a CareerBuilder Company.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2020-07-13 perl v5.30.3