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::Sequence - match class for sequences of uniformly-spaced codepoints

Attributes

"ascending"
       Boolean, true if the sequence starts at a lower codepoint and ends at a higher one (e.g. "acegi" is
       ascending, 86420 is not).

Author

       Gianni Ceccarelli <gianni.ceccarelli@broadbean.com>

Description

       This class represents the guess that a certain substring of a password, consisting of uniformly-spaced
       codepoints, is easy to guess.

Methods

"estimate_guesses"
       The number of guesses is linear with the length of the sequence. Descending sequences get a higher
       estimate, sequences that start at obvious points (e.g. "A" or 1) get lower estimates.

   "feedback_warning""feedback_suggestions"
       This class suggests not using sequences.

   "make"
         my @matches = @{ Data::Password::zxcvbn::Match::Sequence->make(
           $password,
         ) };

       Scans the $password for sequences of characters whose codepoints increase or decrease by a constant.

   "fields_for_json"
       The JSON serialisation for matches of this class will contain "token i j guesses guesses_log10
       ascending".

Name

       Data::Password::zxcvbn::Match::Sequence - match class for sequences of uniformly-spaced codepoints

Version

       version 1.1.2

See Also