About this site

Isaac Newton typing on a computer.

“Truth is ever to be found in simplicity, and not in the multiplicity and confusion of things.” - Isaac Newton.

Well, the site’s coming along. It is an evolving collection of entropic primitives, how to use them and perhaps the odd actual TRNG. These primitives produce only entropy. Entropy yes. Uniformly distributed random numbers? No. The more we experiment and find out, the more we’ll add. It might be slow progress though. Our oscilloscopes are old and the soldering irons under powered.

The Second Law of Thermodynamics states that entropy is all around us and constantly increasing (and it’s free). It just remains for it to be collected and refined by a process known as entropy extraction. True random numbers come from such extraction. And as we’ll show, collection can be done at home relatively easily using common off the shelf components. Two of the simplest and most reliable methods involve humble Zener diodes and cameras. These are our two principal entropic primitives.

We won’t however be publishing entire designs here. Think of it as a collection of hardware and software based building blocks that you can put together as you see fit. There are quite a few noise generator and TRNG circuits on line. Some have extensive operational details and performance figures, but others just feature a label saying “Noise out.” We intend to provide more detailed analysis than that.

Some basic principles we hold dear:-

Keep it sweet & simple

There are TRNG circuits floating about the internet featuring many integrated circuits, DIP switches and surface mount technology. We believe that generally less is more and that security can come from simplicity. The failure modes of a spanner are far fewer than that of a helicopter.

More voltage is more better

It’s easier to make reliable entropy with a higher voltage. Not only does it reduce a circuit’s susceptibility to non random EMI as the analogue signal to noise ratio (SNR) is higher, the signal to quantization noise ratio (SQNR) is also increased making the entropy capture more efficient. Yes, switching power supplies are a little noisy with noise components in the order of 75 mVp-p at 20 MHz produced by a decent DC-DC converter. However by using higher voltage Zener diodes, the signal will swamp any inherent noise. But does this really matter in a circuit designed to generate entropy? And every additional bit of sample depth adds ~6dBV to the entropy signal. It reduces component count too by lessening the need for high amplification prior to sampling.

Raw naked entropy

The scope of what we do (generally).

The scope of what we do (generally).

We don’t believe too much in conditioning, tuning or otherwise compensating the entropy signal prior to sampling. Our mantra is “make it and read it”. Hardware processing adds components and such techniques aren’t really required. All can be achieved with software and at the entropy measurement stage. Some of the fastest TRNGs simply discard the most significant bits of analogue to digital conversion readings, and use the lower ones without any further processing. This basic technique can also eliminate auto correlation in the output, extracting high quality randomness that passes all standard tests.

The three golden rules

Deserving of their own page…

Buy rather than build

Companies like TRACOPOWER and Murata can make better voltage than most of us. A commercial DC-DC converter reduces component count even further, whilst also guaranteeing reliability and stability. Unintentional ground loops in a power circuit can be a real PITA. It may cost more initially, but the rewards are worth it. And who’s counting anyway (what price privacy)?