table of contents
Data::Password::zxcvbn::Match::Sequence(3pm) | User Contributed Perl Documentation | Data::Password::zxcvbn::Match::Sequence(3pm) |
NAME¶
Data::Password::zxcvbn::Match::Sequence - match class for sequences of uniformly-spaced codepoints
VERSION¶
version 1.1.2
DESCRIPTION¶
This class represents the guess that a certain substring of a password, consisting of uniformly-spaced codepoints, is easy to guess.
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).
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".
AUTHOR¶
Gianni Ceccarelli <gianni.ceccarelli@broadbean.com>
COPYRIGHT AND LICENSE¶
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 |