John Holmes wrote:

Anyone know of a PHP english word password generator? Something that'll produce easy to read and remember codes like "buffalo_candy" or "shipment+plant", etc?

I had a look on phpclasses.org, but didn't find anything like this.

Or, as an alternative, I'll code it myself if anyone can point me to a "dictionary" of english words that I could use populate a text file or database to choose from.

John,

On a recent project I had a similar problem, and then I found pwgen [ http://sf.net/projects/pwgen/ ] and it worked great. It creates passwords that are easy for humans to remember, but difficult for machines to guess. It can even create "machine" passwords.

  Here's sample output :

[EMAIL PROTECTED] burhan $ pwgen -n -c -C 8 5
shie9ohG hu8Aengu Thie2ahx Ajien9ai eM2youhu

With its various options, you can modify the lenth and number of passwords generated. The source code is also available, but I didn't have the time to convert it to PHP.

Hopfully this helps,
Burhan

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to