|
Posted by Geoff Berrow on 11/09/11 11:18
I noticed that Message-ID:
<33c3f$42a988df$d52e9932$13341@news.chello.nl> from bebbet contained the
following:
>function createpass($chars) {
> $array ("","0","1" etc.....
> while ($i != ($chars+1)) {
> $pass .= rand(1,36);
> $i++;
> return $pass;
> }
>}
>
>then use it like this:
>
>createpass([length chars]);
I was asked to write a random password generator that created up to 2000
memorable passwords. I used an array of syllables
www.ckdog.co.uk/dev/randpass.php
Of course you have to be a bit careful you don't use syllables that can
be combined in - ah - unfortunate combinations.
On the other hand you might, just for fun, deliberately do that. I'd
probably name such a file randpasrude dot php - if it existed. ;-)
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
Navigation:
[Reply to this message]
|