Lesson 1 of 3 · Continuous health tests and their limits
Monitor the random source
23 minute lesson · 3 checks along the way
Your goal for this lessonTrace continuous run and window tests across samples, distinguishing fault detection from an entropy guarantee.
In this lesson 4 sections · 3 checks
Using archive links & definitions
Follow a linked name to explore its archive card. “Back to your lesson” brings you to the same part of the reading.
Read & understand
A space demonstration depends on working components
NuLIoN launched on PSLV-C56 on July 30, 2023 alongside Galassia-2 and five other satellites. In December, NuSpace and Squareroot8 reported a prototype exchange of key material between the satellite and a Singapore ground station, using an onboard quantum random-number generator and post-quantum cryptography. The retained survey distinguishes those functions from quantum key distribution. Here we follow three engineering questions: whether a source is behaving as expected, which cryptographic objects move, and what a confirmation actually establishes.
The complete DOS/ISRO photograph records the shared launch with Galassia-2. NuLIoN and its module are concealed in the fairing. Neither the photograph nor a successful radio contact measures the unpredictability of the generated values. The following small monitoring examples illustrate NIST’s health-test ideas; they do not describe the satellite’s proprietary random source or establish its certification.
PSLV-C56 launches on July 30, 2023, carrying NuLIoN, Galassia-2 and five other spacecraft. This complete DOS/ISRO photograph records their shared launch; the concealed module and the security of its key exchange cannot be inspected here.
Look closely
What can this photograph directly establish about NuLIoN?
See what to notice
The complete frame shows the PSLV-C56 launch shared with Galassia-2. Both spacecraft and the security module are concealed inside the fairing; the image cannot demonstrate cryptographic performance. The original Galassia-2 archive owner and Department of Space / Indian Space Research Organisation credit remain attached.
Read & understand
Keep a run counter across buffer boundaries
A repetition-count monitor remembers the previous sample and the length of its current run. The first sample starts a run of one. An equal next sample increments the count; a changed value starts a new run of one. Signal a fault when the count reaches the chosen cutoff. A computer receiving samples in separate buffers must preserve that state across buffer boundaries.
Use the deliberately small teaching cutoff C=4 and the stream 1,0,1,1 | 1,1,0,1, where the vertical line is only a buffer boundary. The consecutive ones at positions 3,4,5,6 form a run of four. The alarm occurs at sample 6. Restarting the counter at the second buffer sees only two ones on each side and misses the event. The first observation counts: the monitor does not wait for four additional copies after it.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Count a value within its own window
A different monitor selects the first value in a window and counts every occurrence of that value, including the first. Use an eight-sample teaching window and cutoff six. In 0,1,0,0,0,0,1,0, the selected value is zero and the running counts are 1,1,2,3,4,5,5,6. It alarms at the eighth sample. The longest uninterrupted zero run is only four, so a separate repetition monitor with cutoff five would not alarm.
Append 1,0,1,1,1,1,0,1 as the next window. It contains six ones. Together the two windows contain eight zeros and eight ones: the aggregate is balanced although both local windows trigger their selected-value monitor. Window state and continuous run state serve different purposes. NIST’s actual adaptive-proportion test uses 1,024 samples for a binary source, with a cutoff selected from an assessed source model and a chosen false-alarm allowance. Our eight-sample exercise is not that operational configuration.
A run crosses a buffer boundary; a window counts its selected value
Original small monitoring examples. Actual cutoffs and windows require a source assessment and a false-alarm allowance; passing these monitors is not an entropy certification.
Open full-size diagram in a new tab: A run crosses a buffer boundary; a window counts its selected valueCheck 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Interpret an alarm and a pass correctly
For independent fair bits, any specified group of four samples is all equal with probability 2×(1/2)⁴=1/8. That is already a large false-alarm probability for the tiny run cutoff. It is not the probability of at least one alarm across a long stream, whose overlapping groups require additional accounting. Production cutoffs must balance detection and false alarms using the assessed source behavior and operating rate.
Passing these two monitors is also limited evidence. A perfectly repeating 0,1,0,1 pattern has short runs and balanced windows but is predictable. Known failure modes need appropriate additional tests. NIST places health tests on raw noise samples before conditioning; a polished-looking output stream cannot replace that check. Start-up samples are held until those tests finish, while continuous tests can have detection delay. A persistent detected failure must reach the consuming application and stop source output. Health monitoring supports an entropy assessment; it does not create one.
Check 3 of 3
10 pointsUse the reading above. You can try again without losing points.
Put it together
Your lesson progress
Each check connects to a part of the story. Complete all 3 to earn your 25-point lesson bonus.
Explore further · Optional
Go to the source
Explore the evidence behind this lesson. These optional readings and videos open in a new tab.
- Read: NuSpace: December 2023 NuLIoN demonstrationComplete release reviewed. Its accompanying image is a promotional composite, not an in-orbit photograph or a security measurement.
- Read: ISRO: PSLV-C56 mission and passengersComplete short mission account and passenger list reviewed for the July 30, 2023 shared launch.
- Read: NIST SP 800-90B: health testsComplete Section 4, printed pages 22–28, reviewed; the run algorithm, window algorithm and Table 2 were visually checked. Small exercise cutoffs are intentionally not production parameters.
- Read: NIST: SP 800-90B errataComplete one-page May 2025 errata reviewed. Its two listed numerical corrections concern other sections.