Crypt::Cracklib - Perl interface to Alec Muffett's Cracklib.
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);
This is a simple interface to Alec Muffett's Crack library.
MAXBLOCKLEN MAXWORDLEN NUMWORDS PFOR_FLUSH PFOR_USEHWMS PFOR_WRITE PIH_MAGIC STRINGSIZE TRUNCSTRINGSIZE
Daniel <daniel-cpan-cracklib@electricrain.com>
perl(1).
To install Crypt::Cracklib, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::Cracklib
CPAN shell
perl -MCPAN -e shell install Crypt::Cracklib
For more information on module installation, please visit the detailed CPAN module installation guide.