Data::...equence(3pm)
π Data::Password::zxcvbn::Match::Sequence π
okay bestie, so this is a page out of the User Contributed Perl Documentation section of the manual β it's Data::Password::zxcvbn::Match::Sequence, a whole match class for sequences of uniformly-spaced codepoints. yes, THAT kind of sequence. the "abcdef" / "123456" / "qwerty-adjacent" nonsense. sit down, we're gonna learn her π
β¨ VERSION β¨
version 1.1.3 β she's grown, she's stable, she's serving π
πΈ DESCRIPTION πΈ
This class represents the guess that a certain substring of a password β one made of uniformly-spaced codepoints β is easy to guess. like, embarrassingly easy. the class is basically the vibe check that says "girl, that's not a password, that's a keyboard walk" π
π¦ ATTRIBUTES π¦
ascending
Boolean, periodt. It's true if the sequence starts at a lower codepoint and ends at a higher one β so acegi is ascending π β and it's not for 86420. nope, she's descending, and we respect her for it β¨
π METHODS π
estimate_guesses
The number of guesses is linear with the length of the sequence. and here's the tea: descending sequences get a higher estimate, while sequences that start at obvious points (like A or 1) get lower estimates. obvious starts = obvious guesses, iykyk π
feedback_warning
feedback_suggestions
This class suggests not using sequences. that's it. that's the whole advice. π
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. yeah, she's out here finding your little ladders πͺβ¨
fields_for_json
The JSON serialisation for matches of this class will contain:
token i j guesses guesses_log10 ascending
keep that in mind if you're poking at the JSON, bestie π«Ά
π AUTHOR π
Gianni Ceccarelli <gianni.ceccarelli@broadbean.com> β the icon who wrote her π
π 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. slay, open source π
and that's the whole page, no cap. go forth, don't use 12345 as your password, she's literally watching π
that's a wrap on this one from perl v5.40.1, dated 2025-10-17 β love u, bye π¦π
π¦ where this page comes from
- ubuntu resolute: libdata-password-zxcvbn-perl 1.1.3-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdata-password-zxcvbn-perl 1.1.3-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms