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


Crypt-Cracklib documentation  | view source Contained in the Crypt-Cracklib distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  use Crypt::Cracklib;

  my $reason = fascist_check($password, $dictionary);

  print "Ok"  if  check($password, $dictionary);
  print "Bad" if !check($password, $dictionary);

DESCRIPTION

Top

This is a simple interface to the cracklib library.

FUNCTIONS

Top

* fascist_check( $password, [ $dictionary ] )

Returns a string value. Either an error, or "ok".

* bad_pass( $password, [ $dictionary ] )

Returns a non-empty string on success or an empty string on failure.

* check( $password, [ $dictionary ] )

Returns a true or false value if the password is acceptable or not.

AUTHOR

Top

Dan Sully <daniel@cpan.org>

BUGS

Top

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

SEE ALSO

Top

perl(1).


Crypt-Cracklib documentation  | view source Contained in the Crypt-Cracklib distribution.