[44053] in Cypherpunks

home help back first fref pref prev next nref lref last post

Re: A random-noise sampling device for DOS

daemon@ATHENA.MIT.EDU (Perry E. Metzger)
Tue Nov 28 09:12:17 1995

To: wlkngowl@unix.asb.com
Cc: cypherpunks@toad.com
In-Reply-To: Your message of "Tue, 28 Nov 1995 12:20:57 GMT."
             <DIr6B1.4yn@news2.new-york.net> 
Reply-To: perry@piermont.com
Date: Tue, 28 Nov 1995 09:07:20 -0500
From: "Perry E. Metzger" <perry@piermont.com>


wlkngowl@unix.asb.com writes:
> I'm working on a random noise sampling device for DOS, and so far have
> a prototype version that samples the keyboard timings.  I'm unsure of
> a good way to implement it...
> 
> Device timings (and in the future periodic samplings of the mouse
> position or sound-card noise input) are put into a ring-buffer of raw
> data and the output is a straight secure hash of it...  (when the
> output buffer is used it, it just rehashes the data in the buffer at
> the moment...)

Doesn't sound good.

> I'm looking for some advice on how to determine when the raw data has
> been "used up" and worth processing/encrypting before re-hashing it...

What I would suggest is accumulating enough data that you think you
have enough entropy for one hash function's worth of output, hash it,
and put that into an output queue. Then don't reuse the data, or if
you do, reuse it in combination with enough new data that you think
the new data has one hash function output's worth of entropy.

Perry

home help back first fref pref prev next nref lref last post