Guide

Hardware Random Number Generators Explained

Updated · 2 min read

How hardware and quantum random number generators work, what entropy is, and how they relate to the generator inside your browser.

On this page

A hardware random number generator (also called a true random number generator, or TRNG) gets its randomness from a physical process rather than a formula. Its output cannot be replayed from a seed.

Where the randomness comes from

  • Electrical noise: tiny, unpredictable fluctuations in resistors, diodes or circuits.
  • Timing jitter: small variations in oscillators or in the timing of events such as keystrokes and disk operations.
  • Radioactive decay or photon detection: used in specialist devices.

Quantum random number generators

A quantum random number generator measures a quantum process, for example which of two paths a single photon takes at a beam splitter, or the noise of the vacuum. Quantum theory says the individual outcome is fundamentally unpredictable, which is why these devices are described as sources of physical randomness. They are used in research and in some commercial products.

Raw noise is not enough

Physical signals are often slightly biased or correlated. Real hardware generators therefore apply conditioning (a cryptographic mixing step) and run continuous health tests to detect failures. The measure of unpredictability that goes into this process is called entropy.

How this relates to your computer and browser

Operating systems collect entropy from hardware sources and events, and feed it to a cryptographically secure generator. Modern processors can also provide a hardware random instruction. Browsers expose the operating system’s generator through crypto.getRandomValues().

So the numbers from ToolMuti’s random number generator and random password generator come from a secure generator that is seeded from system entropy. We do not claim that it is a dedicated hardware device or a quantum generator. For games, giveaways, classroom picks and passwords this is the standard, appropriate choice.

When you would want dedicated hardware

Dedicated TRNGs or certified quantum devices matter mainly for specialised cryptographic infrastructure, gaming regulators and scientific work. They are not needed to pick a number from 1 to 100.

Related: pseudorandom and cryptographically secure randomness and what is a random seed.

Try the tools

More guides