The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

SYNOPSIS

  use Crypt::Cracklib;
  
  my $reason = fascist_check($password, $dictionary);

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

  $Crypt::Cracklib::DICT = '/path/to/cracklib/dictionary';
  my $reason = fascist_check($password);

DESCRIPTION

This is a simple interface to Alec Muffett's Crack library.

Exported constants

  MAXBLOCKLEN
  MAXWORDLEN
  NUMWORDS
  PFOR_FLUSH
  PFOR_USEHWMS
  PFOR_WRITE
  PIH_MAGIC
  STRINGSIZE
  TRUNCSTRINGSIZE

AUTHOR

Daniel <daniel-cpan-cracklib@electricrain.com>

SEE ALSO

perl(1).