1Data::Password::zxcvbn:U:sMeartcCho:n:tDraitbeu(t3e)d PeDraltaD:o:cPuamsesnwtoartdi:o:nzxcvbn::Match::Date(3)
2
3
4
6 Data::Password::zxcvbn::Match::Date - match class for digit sequences
7 that look like dates
8
10 version 1.1.2
11
13 This class represents the guess that a certain substring of a password,
14 consisting of digits and maybe separators, can be guessed by scanning
15 dates in the recent past (like birthdays, or recent events).
16
18 "year"
19 Integer, the year extracted from the token.
20
21 "separator"
22 String, possibly empty: the separator used between digits in the token.
23
25 "estimate_guesses"
26 The number of guesses is the number of days between the extracted
27 "year" and a reference year (currently 2017), multiplied by the
28 possible separators.
29
30 "make"
31 my @matches = @{ Data::Password::zxcvbn::Match::Date->make(
32 $password,
33 ) };
34
35 Scans the $password for sequences of digits and separators that look
36 like dates. Some examples:
37
38 • 1/1/91
39
40 • 1191
41
42 • 1991-01-01
43
44 • 910101
45
46 "feedback_warning"
47 "feedback_suggestions"
48 This class suggests not using dates.
49
50 "fields_for_json"
51 The JSON serialisation for matches of this class will contain "token i
52 j guesses guesses_log10 year separator".
53
55 Gianni Ceccarelli <gianni.ceccarelli@broadbean.com>
56
58 This software is copyright (c) 2022 by BroadBean UK, a CareerBuilder
59 Company.
60
61 This is free software; you can redistribute it and/or modify it under
62 the same terms as the Perl 5 programming language system itself.
63
64
65
66perl v5.38.0 2023-09D-a1t3a::Password::zxcvbn::Match::Date(3)