From: John Bradford <john@grabjohn.com>
To: folkert@vanheusden.com (Folkert van Heusden)
Cc: linux-kernel@vger.kernel.org
Subject: Re: Want a random entropy source?
Date: Sat, 28 Dec 2002 20:39:16 +0000 (GMT) [thread overview]
Message-ID: <200212282039.gBSKdGWF001663@darkstar.example.net> (raw)
In-Reply-To: <003c01c2aeaf$ac673530$3640a8c0@boemboem> from "Folkert van Heusden" at Dec 28, 2002 09:28:24 PM
> > I was astonished to see that the resulting signal is a white-noise
> > pattern with a slight emphasis at the high end (when sampled at 44
> > kilosamples per second). In short, it looks like diode noise with a
> > 4 kilohertz square wave thrown in.
> > "That suggests to me that this would make a fair source of random samples,
> > especially after you slot out the interfering signal.
> JB> How can you guarantee that you are sampling noise, though, what if a
> JB> sound card was picking up 50 Hz mains hum, for example, that would
> JB> de-randomise the data quite a bit.
>
> Well, the 50hz from the mains isn't a perfect 50hz; it has random (yes)
> fluctuations.
Yes, that's true.
More generally, though, is there any point in this going in to the
mainline kernel, if:
* Most users don't need faster entropy generation than we've got
and
* The entropy gathered from the soundcard is statistically inferior to
that gathered from the current sources of entropy.
I don't see how it's possible to guarantee that the data below a
certain dB level from the soundcard is noise.
John.
next prev parent reply other threads:[~2002-12-28 20:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-27 16:16 two 2.5 modules bugs Mikael Pettersson
2002-12-27 23:24 ` Petr Vandrovec
2002-12-28 10:37 ` Rusty Russell
2002-12-28 15:40 ` Want a random entropy source? Stephen Satchell
2002-12-28 16:00 ` John Bradford
2002-12-28 16:38 ` Dr. David Alan Gilbert
2002-12-28 16:47 ` Russell King
2002-12-28 17:15 ` John Bradford
2002-12-28 20:28 ` Folkert van Heusden
2002-12-28 20:39 ` John Bradford [this message]
2002-12-28 20:53 ` Folkert van Heusden
2002-12-28 23:20 ` Stephen Satchell
2002-12-28 23:41 ` John Bradford
2002-12-28 20:27 ` Folkert van Heusden
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200212282039.gBSKdGWF001663@darkstar.example.net \
--to=john@grabjohn.com \
--cc=folkert@vanheusden.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox