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

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

version 1.1.2

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

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

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.

This class suggests not using sequences.

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

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

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

Gianni Ceccarelli <gianni.ceccarelli@broadbean.com>

This software is copyright (c) 2022 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.

2023-04-04 perl v5.36.0