1Text::Password::PronounUcseearblCeo(n3t)ributed Perl DocTuemxetn:t:aPtaisosnword::Pronounceable(3)
2
3
4
6 Text::Password::Pronounceable - Generate pronounceable passwords
7
9 # Generate a pronounceable password that is between 6 and 10 characters.
10 Text::Password::Pronounceable->generate(6, 10);
11
12 # Ditto
13 my $pp = Text::Password::Pronounceable->new(6, 10);
14 $pp->generate;
15
17 This module generates pronuceable passwords, based the the English
18 digraphs by D Edwards.
19
20 METHODS
21 new
22 $pp = Text::Password::Pronounceable->new($min, $max);
23 $pp = Text::Password::Pronounceable->new($len);
24
25 Construct a password factory with length limits of $min and $max.
26 Or create a password factory with fixed length if only one argument
27 is provided.
28
29 generate
30 $pp->generate;
31 $pp->generate($len);
32 $pp->generate($min, $max);
33
34 Text::Password::Pronounceable->generate($len);
35 Text::Password::Pronounceable->generate($min, $max);
36
37 Generate password. If used as an instance method, arguments
38 override the factory settings.
39
41 This code derived from mpw.pl, a bit of code with a sordid history.
42
43 • CPAN module by Chia-liang Kao 9/11/2006.
44
45 • Perl cleaned up a bit by Jesse Vincent 1/14/2001.
46
47 • Converted to perl from C by Marc Horowitz, 1/20/2000.
48
49 • Converted to C from Multics PL/I by Bill Sommerfeld, 4/21/86.
50
51 • Original PL/I version provided by Jerry Saltzer.
52
54 Copyright 2006 by Best Practical Solutions, LLC.
55
56 This program is free software; you can redistribute it and/or modify it
57 under the same terms as Perl itself.
58
59 See <http://www.perl.com/perl/misc/Artistic.html>
60
61
62
63perl v5.36.0 2022-07-22 Text::Password::Pronounceable(3)