Data-Password-zxcvbn
view release on metacpan or search on metacpan
lib/Data/Password/zxcvbn/Match/Sequence.pm view on Meta::CPAN
sub feedback_suggestions {
return [ 'Avoid sequences' ];
}
my $MAX_DELTA = 5;
sub make {
my ($class, $password) = @_;
# Identifies sequences by looking for repeated differences in
# unicode codepoint. this allows skipping, such as 9753, and also
# matches some extended unicode sequences such as Greek and
# Cyrillic alphabets.
#
# for example, consider the input 'abcdb975zy'
#
# password: a b c d b 9 7 5 z y
# index: 0 1 2 3 4 5 6 7 8 9
# delta: 1 1 1 -2 -41 -2 -2 69 1
#
# expected result:
# [(i, j, delta), ...] = [(0, 3, 1), (5, 7, -2), (8, 9, 1)]
lib/Data/Password/zxcvbn/RankedDictionaries/English.pm view on Meta::CPAN
'unfavorably' => 29479,
'unfavourable' => 17185,
'unfolded' => 16486,
'unforgiven' => 28306,
'ungulates' => 19293,
'unhcr' => 18306,
'unhindered' => 29941,
'uniao' => 20306,
'unicameral' => 16635,
'unicef' => 10265,
'unicode' => 9029,
'unicron' => 19099,
'unidirectional' => 29368,
'unido' => 26146,
'unification' => 6193,
'unified' => 3782,
'uniformity' => 13075,
'uniformly' => 9952,
'unify' => 12950,
'unifying' => 12586,
'unilateral' => 12360,
( run in 0.844 second using v1.01-cache-2.11-cpan-88abd93f124 )