Count what you could not predict
In Lesson 3.4, every coin toss fit in one bit, even when the outcome was easy to guess. A row’s length tells you how many bits it stores. Its entropy measures how much uncertainty the row contains before you see it.
A sample is a single reading. A noise source is a process whose readings can vary unpredictably. Eight samples of a known alternating pattern give 0 1 0 1 0 1 0 1. All eight are predictable, so the row contains zero bits of uncertainty.
With two equally likely choices at each of eight independent positions, there are 256 equally likely rows. That gives eight bits of uncertainty in this model. If the simulated noise source sticks at 1, the next eight samples are already known. The sample count grows by eight. The earlier eight bits of uncertainty stay in the earlier readings, and the new batch adds zero.
A biased source sits between the fair and stuck models. If a sensor independently reads 1 nine times out of ten, you can often guess its next value. Each sample still carries some uncertainty, but less than one bit.
The numbers come from the rules of the simulation. A short run of identical bits can also happen by chance in the fair model, so a row of repeated ones by itself cannot tell you how much uncertainty a real source provides.
From a measurement to a seed
A seed is starting material used to set up a generator. One way to obtain seed material is to measure a physical process with unpredictable variation, such as electrical noise, and collect readings from it. A system can process them in stages.
- Measure. Convert readings from the noise source to digital samples.
- Check. Source health tests look for failures, such as a sensor staying on one value for too long. A passing test alone cannot establish how much uncertainty a source provides.
- Condition if needed. Processing can reshape the distribution of readings to reduce bias or concentrate existing uncertainty into a shorter result. A fixed process cannot create new uncertainty from predictable inputs.
- Seed. Use material backed by enough estimated uncertainty for the generator’s security needs. The sample count alone cannot show whether you have enough.
See NIST’s recommendations for entropy sources and how those sources can feed a random bit generator. In the next lesson you’ll see what a generator does after it starts.
Check your understanding
A sensor is stuck at 1. Why can taking a thousand more readings leave you with zero new uncertainty? Would passing those readings through a fixed calculation help?
Show the answer
You already know each new reading. Any fixed calculation of that known row produces a result you can predict too. The system needs readings from a working source of uncertainty.