True random number generator
A true random number generator produces unpredictable values by sampling nondeterministic physical phenomena rather than relying solely on deterministic algorithms.
Hacking Cryptography
A hardware random number generator, or true random number generator, samples nondeterministic physical phenomena to produce unpredictable random values.
- How it is used
- Seeds CSPRNGs with physically sourced entropy for cryptographic random-byte generation.
- How deep it goes
- Explains physical sources, rate and entropy models, tamper resistance, health tests, and reseeding; defers detailed construction mechanics.
- Examples
- Uses rain, radioactive decay, electrical noise, diode designs, HSMs, and Linux entropy devices as concrete examples.
- What you can do after
- Evaluate/understand it by distinguishing a modeled, health-tested entropy source from an untested or deterministic random generator.
Read how Hacking Cryptography explains true random number generator →
Real-World Cryptography
A true random number generator is a device or system that derives random values from physical nondeterministic phenomena.
- How it is used
- Explains how physical entropy sources support cryptographic randomness when ordinary software events are predictable.
- How deep it goes
- Explains entropy sources, bias, extraction, performance, and contributory mixing, but stops short of implementation details.
- Examples
- Uses thermal noise, Intel RDRAND, boot-time entropy failures, and smart-card hardware as concrete examples.
- What you can do after
- Evaluate physical randomness sources, extraction needs, bottlenecks, and risks from relying on a single source.
Read how Real-World Cryptography explains true random number generator →
What to know first
- ECDSAECDSA is a public-key digital signature algorithm that uses elliptic-curve arithmetic to generate and verify signatures.
Related concepts
- pseudo-random number generatorkind of · A pseudorandom number generator is a deterministic algorithm that uses an initial seed or internal state to produce a sequence of values with random-like properties.
- cryptographically secure random number generatorused by · A cryptographically secure random number generator produces computationally unpredictable values while resisting prediction and recovery of its internal state by feasible adversaries.
- thermal noiseuses · Thermal noise is random electrical fluctuation caused by the thermally driven motion of charge carriers in a physical system.
- ring oscillatorused by · An electronic oscillator formed by connecting an odd number of inverting logic gates in a ring.
- entropy sourceuses · An entropy source is a physical, computational, or operating-system process that supplies unpredictable or uncertain input for generating random data.
Questions about true random number generator
What is true random number generator?
A true random number generator produces unpredictable values by sampling nondeterministic physical phenomena rather than relying solely on deterministic algorithms.
Which Manning books explain true random number generator?
Hacking Cryptography and Real-World Cryptography.
What should I know before learning true random number generator?
Manning books that teach true random number generator usually introduce ECDSA first.
What is true random number generator a kind of?
True random number generator is a kind of pseudo-random number generator. A pseudorandom number generator is a deterministic algorithm that uses an initial seed or internal state to produce a sequence of values with random-like properties.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

