liveBook · Manning

Entropy source

As explained in Hacking Cryptography

A physical or computational process that supplies uncertain values from which random output can be derived.

An entropy source is the physical process sampled by a true random number generator (TRNG) to produce uncertain values. Its output may be biased or degraded, so production systems commonly apply randomness extraction before using it. section 2.2.1

Treat an entropy source as an engineered security boundary:

  • Ground its generation rate and entropy in a physical model that can withstand skeptical review. section 2.2.1
  • Expose raw output so a health checker can compare observed bits with the model’s predictions. section 2.2.1
  • Shut down access when health checks detect malfunction, and defend against power-noise injection or malicious hosts. section 2.2.1

Practical failure modes

Zener-noise and ring-oscillator TRNGs illustrate why a physical model matters. Intel’s RDRAND hides the circuit between the entropy source and reported output, while USB TRNGs can be modified by a malicious host to produce permanently predictable bits. section 2.2.1

Figure 2.4 TRNGs sample physical phenomena to generate random numbers.
figure

Shows how TRNGs sample physical phenomena to generate random numbers. section 2.2.1

How Hacking Cryptography covers it

How deep it goes
Explains physical modeling, raw-output inspection, extraction, health checks, and attacks, but does not derive circuit designs.
Examples
Uses Zener noise, ring oscillators, Intel RDRAND, USB TRNGs, and ambient-temperature bias as examples.
What you can do after
Evaluate TRNG designs by checking physical justification, raw-output visibility, health shutdown, extraction, and resistance to physical or host attacks.
How it connects
Connects entropy sources with TRNGs, randomness extractors, health checkers, physical models, and power-supply noise injection.

Also explained in

Compare how 2 books explain entropy source →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Hacking Cryptography. The section links point to the parts of the book it draws on.