alphanumeric_only

alphanumeric

Make sure the password contains one of each from the following sets: a-z, A-Z and 0-9

length

Make sure the password it at least 6 characters long. If min_length was passed as an option to check(), this value will be used instead, assuming it's a positive integer.

mixed_case

Make sure the password is mixes case, i.e. not all lower case, nor all upper case

diverse_characters

Make sure the password is contains a diversity of character group types (uppercase, lower case, digits, symbols). By default, at least one character group must be present in the password (which any password will satisfy - override this to invoke the test). If diversity_required was passed as an option to check(), this value will be used instead.

silly

Make sure the password isn't a known silly word (e.g 'password' is a bad choice for a password).

The default list contains qwerty, and password only. You may choose to replace this list of words or to add your own to the end of the list.

If you wish to replace the list of silly-words, you should pass them in via the options when calling check(), as 'silly_words'. e.g.

AUTHOR

CONTRIBUTORS

PROJECT HOMEPAGE

COPYRIGHT AND LICENCE

Copyright (C) 2005-2007 by Chisel Wright

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available.