|
NAMECrypt::PassGen - Generate a random password that looks like a real wordSYNOPSISuse Crypt::PassGen qw/ passgen /; @passwords = passgen( NWORDS => 10, NLETT => 8 ); DESCRIPTIONThis module provides a single command for generating random password that is close enough to a real word that it is easy to remember. It does this by using the frequency of letter combinations in a language (the frequency table is generated during installation although multiple tables can be generated and used for different languages). The frequency table contains the probability that a word will start with a specific letter or 2 letter combination and then the frequency of 3 letter combinations.This module should not be used for high security applications (such as user accounts) since it returns passwords that are not mixed case, have no punctuation and no letters. This word can be used as a basis for a more secure password. The language of the password depends on the language used to construct the frequency table. FUNCTIONSThe following functions are provided:
ERROR HANDLINGAll routines in this module store errors in the ERRSTR variable. This variable can be accessed if the routines return an error state and contains the reason for the error.@words = passgen( NLETT => 2 ) or die "Error message: $Crypt::PassGen::ERRSTR"; AUTHORSTim Jenness <tjenness@cpan.org> Copyright (C) 2000-2012 T. Jenness. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.Based on the PASSGEN program written by Mike Bartman of SAR, Inc as part of the SPAN security toolkit.
Visit the GSP FreeBSD Man Page Interface. |