Re: Announce: Text_Password_Pronounceable
| From: | Andr� N�ss | Date: | Sun, 01 Sep 2002 11:01:31 +0000 |
| Subject: | Re: Announce: Text_Password_Pronounceable | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8800@lists.php.net to get a copy of this message | ||
"Martin Jansen" <mj@php.net> wrote in message
news:20020831123633.GA19946@martinjansen.com...
> I've a class hanging around here that creates pronouncable
> passwords. The current function set is:
>
> string create(integer length)
>
> Creates a password limited by the given length
> and returns it.
>
> array createMultiple(integer length, integer number)
>
> Creates <number> passwords by the given length and
> returns them as an array.
>
> If noone objects I'm going to release the package as soon as we have
a
> name for it. My suggestion is "Text_Password_Pronouncable", but I'm
> open to better options.
Why not simply have one function create() with an optional parameter
number which defaults to 1?
André Næss