DIY RNGs [was: Re: Curious RNG stalemate [was: use of cpunks]]

Ted Smith tedks at riseup.net
Tue Oct 22 08:15:09 PDT 2013


On Tue, 2013-10-22 at 00:07 -0700, Andy Isaacson wrote:
> On Fri, Oct 18, 2013 at 11:42:21AM -0400, Sandy Harris wrote:
> > On Thu, Oct 17, 2013 at 12:56 PM, grarpamp <grarpamp at gmail.com> wrote:
> > > Problem is, apparently no one is solving it, so round and round
> > > it goes...
> > 
> > > Now if someone would just sell a completely open discrete logic
> > > serial port hw entropy source for under $50... that would end
> > > a lot of the talk. Even with a more costly radiation source rather
> > > than other phenomena you'd still likely make good profit ...
> > 
> > If you have an audio device free or can add one and are using
> > Linux, I'd say Turbid is the obvious solution:
> > http://www.av8n.com/turbid/paper/turbid.htm
> > 
> > Open source, available for over a decade, well thought out
> > and well documented. It even has a proof, using only some
> > quite mild assumptions, that it gives almost perfect entropy
> > in the output. What's not to like?
> 
> It's super frustrating that Turbid assumes you are going to
> reverse-engineer the amplifier stage of your sound card in order to set
> some difficult-to-understand parameters which apparently can completely
> break it's ability to extract entropy if set incorrectly.  (See the
> installation instructions in section 12 of the paper linked above.)
> 
> It would be much better for it to have a default set of parameters (or
> an autotuned parameter engine) that have a very high likelihood of
> giving acceptable results upon "apt-get install turbid" on some
> arbitrary hardware.
> 
> I mean, seriously.  The Turbid authors appear to assume that every
> person who installs Turbid is going to build a custom Y-audio cable and
> put a voltmeter (set to the correct mode of course!) on the outputs of
> their sound card.  WTF?
> 
> It's fine if conservative, default settings result in Turbid getting
> only 100 bits of entropy per second rather than 100 Kbit/sec.  Mix it
> into /dev/urandom and call it a day.
> 
> -andy

A while ago, a friend and I bought a smoke detector and a webcam, hacked
them together, and built this:
http://www.inventgeek.com/Projects/AlphaRad/OverView.aspx

It actually works; when you view the webcam you can see the little
points of light where an alpha particle hits the sensor.

However, there wasn't really any software to support it as an RNG, so
it's just sitting around.

Is it possible to make an entropy source out of something like that? If
so, it was a really simple (less than two hours IIRC) build, and it cost
about $40.

-- 
Sent from Ubuntu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.cpunks.org/pipermail/cypherpunks/attachments/20131022/0dd6cd67/attachment-0001.sig>


More information about the cypherpunks mailing list