The sys admin’s daily grind: haveged Random Release

Random Release

Article from Issue 131/2011
Author(s):

Practical cryptography is often an encounter with many random numbers in just a few moments. Entropy is the raw material that gives birth to the random number, but it’s harder to come by than you might think.

Creating havoc with a computer is an easy thing to do, but today, I need a more ordered kind of chaos: entropy. I need to generate high-quality random numbers with minimal predictability. Anybody who plumbs the depths of cryptographic functions will need a good and fast entropy generator at some time, say, to make sure that keys really are generated from genuinely random data, rather than predictable numbers.

You need to be creative to achieve high-quality entropy. Creative people have invented methods for generating random numbers from the bubbles in a lava lamp, the noise generated by feedback from a microphone input, and the luminance values of a camera sensor in a closed black box. All of these work really well, but they’re slow.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Deleting Data

    Backups are a common topic, but you’ll hardly hear anyone mention safe data deletion.

  • Charly’s Column: OpenNetAdmin

    Last month, the Havege daemon helped organize the chaos in this column. Today, Charly attempts to organize the network – a tale of suffering in three chapters.

  • Linus Says No Backdoor in Linux

    Brief dust-up in the kernel community leads to an illuminating look at random number generation.

  • Dell Linux Developers Implement TPM

    Most Linux users think of Trusted Platform Module (TPM) as digital rights management (DRM), i.e. software freedom prevention. However, TPM used in some Intel computer modules may have some useful functions.

  • Kernel News

    Chronicler Zack Brown reports on the latest news, views, dilemmas, and developments within the Linux kernel community.

comments powered by Disqus

Direct Download

Read full article as PDF:

049-049_charly.pdf (941.10 kB)

News