1Cracklib(3)           User Contributed Perl Documentation          Cracklib(3)
2
3
4

NAME

6       Crypt::Cracklib - Perl interface to Alec Muffett's Cracklib.
7

SYNOPSIS

9         use Crypt::Cracklib;
10
11         my $reason = fascist_check($password, $dictionary);
12
13         print "Ok"  if  check($password, $dictionary);
14         print "Bad" if !check($password, $dictionary);
15

DESCRIPTION

17       This is a simple interface to the cracklib library.
18

FUNCTIONS

20       ·   fascist_check( $password, [ $dictionary ] )
21
22           Returns a string value. Either an error, or "ok".
23
24       ·   bad_pass( $password, [ $dictionary ] )
25
26           Returns a non-empty string on success or an empty string on
27           failure.
28
29       ·   check( $password, [ $dictionary ] )
30
31           Returns a true or false value if the password is acceptable or not.
32

AUTHOR

34       Dan Sully <daniel@cpan.org>
35

BUGS

37       Please file bugs at
38       https://github.com/dsully/perl-crypt-cracklib/issues
39

SEE ALSO

41       perl(1).
42
43
44
45perl v5.32.0                      2020-07-28                       Cracklib(3)
Impressum