Why can an attacker who learns a pseudorandom generator's seed and algorithm reconstruct later outputs?
Show answer & explanation
Answer: The sequence is deterministic
The bits are evenly balanced, which hides the internal state — Balanced bits can hide obvious visual patterns, but they do not hide the internal state once the seed and algorithm are exposed. A stream can have nearly equal 0s and 1s while still being completely reproducible. Security depends on unknown state, not on the output merely looking evenly mixed.
The sequence is deterministic ✓ — A pseudorandom generator is a recipe, not a new coin flip each time. With the same seed and algorithm parameters, the same sequence can be recreated, even if its early outputs looked patternless. Cryptographic generators are judged by a stricter goal: without the secret inputs, previous outputs should not let you predict the next one.
Each new output adds fresh randomness — Watching outputs does not add new entropy to a deterministic generator. The sequence may feel refreshed because more values have appeared, but those values are still consequences of the same seed and algorithm. Once those starting inputs are known, the later values can be replayed rather than newly discovered.
More Technology questions
- Why can a satellite redness index flag rusting Arctic rivers but not identify chemically hazardous streams?
- A service publishes a fresh random number every minute, plus a public log in which each entry carries a fingerprint of the entry before it. What does that chaining add?
- Why can a wall of lava lamps used as a camera feed improve encryption even though the cryptographic software that consumes it is deterministic?
- Why is a physical noise source secure against an attacker who knows the code, unlike a phone game shuffle?
- Why do quiet EVs need alert sounds at parking-lot speeds before tire noise becomes audible?
- Why does the Ferrari 296 pipe engine sound into the cabin from before exhaust treatment?