Skip to news register
IncentivePost
·388 entries
Independent reporting · Updated throughout the day
Gaming

Inside the labs that test random number generators

You press a button and a machine "picks" a card. The honest assumption is that something like a die is rolling inside. It usually isn't. Most computer randomness comes from random number generators that are, at heart, deterministic algorithms: same starting point,…

Article record
PublishedSectionGaming
Updated—Read time6 min
Authorincentivepost.com
pg bet222
Key Points

You press a button and a machine "picks" a card. The honest assumption is that something like a die is rolling inside. It usually isn't. Most computer randomness comes from random number generators that are, at heart, deterministic algorithms: same starting point, same sequence every time. That calculation is why a whole ecosystem of standards…

On this page
  1. True random versus pseudorandom
  2. NIST’s rulebook for generating random bits
  3. The independent labs that certify generators
  4. What a regulator demands of a generator
  5. A public coin flip: the NIST Randomness Beacon
  6. Trust is built outside the machine

You press a button and a machine “picks” a card. The honest assumption is that something like a die is rolling inside.

It usually isn’t. Most computer randomness comes from random number generators that are, at heart, deterministic algorithms: same starting point, same sequence every time. That calculation is why a whole ecosystem of standards and test labs exists: to check that the numbers behave the way chance should.

True random versus pseudorandom

By NIST’s glossary definition, a pseudorandom number generator is a deterministic algorithm: a truly random input goes in, and a sequence that appears random comes out. The part that matters is that input. Give the generator a seed and it will grind out numbers that pass every casual sniff test, but the sequence was already decided. Anyone who knows the seed can replay the whole stream, number for number.

Hardware generators work differently. They sample physical processes: atmospheric noise picked up by a radio receiver, or thermal noise, the tiny random voltage fluctuations inside an electronic component. Those measurements aren’t calculated from anything, so there’s no seed to discover and no sequence to replay. Cryptographic systems usually combine the two. A physical entropy source supplies the seed, and a fast deterministic generator stretches it into the millions of bits an application needs. Think of it this way: hardware gives you unpredictability, the deterministic generator gives you speed and volume, and a serious design needs both.

NIST’s rulebook for generating random bits

The rules live in NIST’s SP 800-90 series, split into three parts. SP 800-90A specifies the deterministic mechanisms, the algorithms that turn a seed into a stream of bits. Entropy sources, where the physical noise lives, get their own part in SP 800-90B. And SP 800-90C specifies how to assemble the pieces into complete generators. Read them in that order and you’re following the machinery as it’s built: entropy in, algorithm in the middle, generator as the whole.

For testing, NIST publishes SP 800-22, a suite of statistical tests for random and pseudorandom generators, with the final version from April 2010. The suite checks whether output looks right: frequencies, runs, patterns a good generator shouldn’t show. NIST is blunt about the limits, though. The tests are only a first step, and the standard says they can’t serve as a substitute for cryptanalysis. A sequence can pass every statistical check and still hide a flaw a cryptographic attack would find. Treat the statistics as a screening tool, never as proof. The interesting failures are the ones the statistics miss.

The independent labs that certify generators

Standards describe what good looks like. Someone still has to check individual implementations. eCOGRA, an independent game testing lab founded in 2003 and based in the United Kingdom, does that for the gambling industry. Its service list covers RNG testing and the certification of game engines.

Its accreditation is to ISO/IEC 17025:2017, the international standard for the competence of testing and calibration laboratories. That standard is about the lab itself: documented methods, calibrated equipment, staff whose competence is demonstrated, and results traceable through quality controls.

Read a lab’s certificate scope the way you’d read an auditor’s engagement letter. Accreditation to a specific standard means the lab can show how it tested, not just that it issued a report. If you play games online, you’ve probably already benefited from this work without seeing it: a certificate sits behind the lobby. While you think about what those certificates actually cover, you might glance at pg bet222 before returning to the technical detail.

What a regulator demands of a generator

RTS 7, the UK Gambling Commission’s technical standard, has one stated aim: games and other virtual events should operate fairly. Random number generation and game results must be acceptably random. The guidance fills in what that means. Output should be uniformly distributed across the generator’s whole range, so no value is favoured.

It should also be unpredictable: for a software generator, predicting the next number should be computationally infeasible.

The guidance then names the failure modes explicitly. One is repetition: a generator that returns to the same output stream, a fault usually called cycling, is ruled out.

Two instances of the same generator must not produce identical streams either, which is synchronisation. A reset can’t be the weak moment either. The guidance requires that seeding or re-seeding add no predictability, so the instant a generator starts over is protected as much as steady-state operation.

Each of these maps to a real engineering problem. A generator left running too long drifts toward its period. Two instances initialised alike will walk in lockstep. A seed drawn from a weak source hands the whole sequence to an attacker.

Evidence matters as much as the requirements. The Commission wants operators to show randomness with a high degree of confidence, for instance through statistical analysis built on generally accepted tests and methods.

Trace a single game round backwards and you find the chain: an output value from a generator that never cycles and never synchronises. That generator was seeded unpredictably, feeds a uniform distribution, and has lab analysis on file.

Once that chain is on file, you might glance at pg bet888 before moving on to how the whole thing gets audited.

A public coin flip: the NIST Randomness Beacon

Not all randomness is private. Public random values come out of the NIST Randomness Beacon in pulses, each one carrying a fresh 512-bit random string. Anyone can download the pulses, check them against earlier ones, and use them where a shared, auditable source of randomness helps. Part of the entropy comes from a quantum random number generator based on photon detection. Whether a single photon arrives is the sort of event with no prior value to guess.

NIST attaches one warning: beacon values are public, so never use them as secret keys. A key anyone can download isn’t a key. The beacon fits cases where verifiability beats secrecy, such as cryptographic lotteries, protocol parameters, and research that needs a randomness source nobody can influence.

Trust is built outside the machine

A pseudorandom sequence is predetermined, so the machine itself can’t prove anything. Know the seed and you can reproduce everything. Trust rests on the layers around it: the SP 800-90 standards, regulators like the UK Gambling Commission, and labs accredited to the ISO standard for testing competence. If you want to judge a claim of certified randomness, check that accreditation first. It’s the one credential that says the tester was qualified to do the testing.