Subject: Re: System clock resolution and random numbers
To: Rick Byers <rickb@iaw.on.ca>
From: Jukka Marin <jmarin@pyy.jmp.fi>
List: current-users
Date: 05/01/1997 17:16:22
On Thu, May 01, 1997 at 09:46:13AM -0500, Rick Byers wrote:
> I don't want to describe exactly what it is in public e-mail (because even
> 'the bad guys' have access to this list), but I guess it's sort of like
> cryptography.  Currently I'm XORing a number of values, including tv_usec
> when the program starts, and after a user-input prompt (user reponse time
> is pretty unpredictable).

These things may not be so random after all.  For example, if the keyboard
is serviced only, say, 50 times a second, the time when the program receives
the input may not be "random down to 1 us". :-/

  -jm


-- 

                       1503 kHz @ 21:30 EET DST Mon-Fri

                     ---> http://www.jmp.fi/~jmarin/ <---