Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!crdgw1!barnett From: barnett@grymoire.crd.ge.com (Bruce Barnett) Newsgroups: comp.sys.mac.programmer Subject: Need code to time response for real random number. Message-ID: Date: 4 Feb 91 16:05:06 GMT Sender: news@crdgw1.crd.ge.com Reply-To: barnett@crdgw1.ge.com Organization: GE Corp. R & D, Schenectady, NY Lines: 13 I am working on a project that uses encryption and I need a real random number. Rather than buy hardware for hundreds of Macintoshes, I would like to ask the user for a password, and measure the time to respond to the prompt. This time interval would be used as a seed for the random number generator. Does anyone have any code to do this? (Think C preferred). I could use the time-of-day clock to get a seed, but this isn't as secure. Send E-Mail. Thanks in advance, gang. -- Bruce G. Barnett barnett@crd.ge.com uunet!crdgw1!barnett