[NCLUG] speaking of high school

mike cullerton michaelc at cullerton.com
Tue Feb 13 11:02:36 MST 2001


hey all,

   hope things are treating you well today. i have an algorithm/programming
question. what's the best way to generate a random password in code?

   it's the year of my 20th high school reunion and i'm setting up a web
site <http://lakebraddock.net> for the reunion coordinators. a way to help
everyone get in touch with each other. i'm using this opportunity to create
a web community engine kinda like scoop <http://scoop.kuro5hin.org> and
slashcode <http://slashdot.org/code.shtml> but using php. one of the things
i want to do is have them register using a valid email address, then produce
a random password for them and mail it to their valid email address. kinda
like what rusty does at kuro5hin.org as well as lots of other web sites you
register at. this is NOT a secure site, the password is just a way to
authenticate folks when they want to modify their profile and such. and i am
using the mailback feature as a way to check the email address.

   anyway, i'm wondering if there are standard (good) ways of generating
random passwords out there.

have a good one, and thanks,
mike

 -- mike cullerton





More information about the NCLUG mailing list