A computer does exactly what it is told. Every instruction, every answer, always the same for the same input. Yet the machine on your desk can hand you a coin flip nobody can call.
The trick behind that surprise is the seed. Random number generators churn out sequences that look unpredictable, but the whole sequence is fixed the moment the seed is set. Anyone who knows the seed can produce every number again.
Taming, standardising and checking that trick is a story with its own cast of standards and testers.
True Randomness Versus the Pseudorandom Trick
Start with the definition. NIST’s glossary calls a pseudorandom number generator a deterministic algorithm that takes truly random input and produces a sequence that appears random. The same entry notes that a deterministic random bit generator is sometimes simply called a PRNG.
The key word is deterministic. Run the same generator twice from the same starting state, and you get the same list of numbers twice.
That leads to the seed paradox. The seed is the generator’s initial state, and the numbers are in fact predetermined, because whoever holds it can regenerate the entire sequence from that one small input. For a weather simulation that hardly matters.
For anything a stranger has to trust, it matters a great deal: trust the seed first, the algorithm second.
Real randomness has to come from somewhere, and hardware generators go looking in physics. Measuring atmospheric noise or thermal noise yields bits that no algorithm can copy, because the process itself has no pattern to reproduce.
Software gives speed and repeatability; hardware gives unpredictability. Serious systems often use both together, so the physical source refreshes the seed and the fixed sequence never gets the chance to repeat.
The Rulebook: How NIST Standardises Random Bit Generation
NIST’s SP 800-90 series splits the job into three parts. SP 800-90A specifies the deterministic mechanisms. The entropy sources that feed them are the subject of SP 800-90B. SP 800-90C then spells out how to assemble a complete generator from those pieces. Each layer can be reviewed on its own, which makes the standard workable for manufacturers.
There is also a test suite. NIST SP 800-22 offers statistical tests for random and pseudorandom number generators, and the final version came out in April 2010. Run a generator through it, and you learn whether the output looks well-behaved.
But NIST is blunt about the limit. Statistical tests are only a first step, the agency says, and can’t serve as a substitute for cryptanalysis. Treat a vendor’s “passed the tests” claim the same way: passing proves the output passes the tests, and nothing more. Someone still has to attack the construction itself and see whether the seed or the state leaks the sequence.
A Public Coin Flip: The NIST Randomness Beacon
Checking is easier when the randomness is public, and that’s the job of the NIST Randomness Beacon. Each pulse publishes a fresh 512-bit random string that anyone can inspect later. The values sit in the open, and anyone can compare them later without access to a private log.
The source matters too. The beacon runs on a quantum random number generator that works by detecting photons, so the bits come from a physical process instead of an algorithm.
NIST attaches an honest caveat. It warns against using beacon values as secret keys, for the simple reason that publishing them hands the sequence to the whole world. Public randomness and secret randomness are different jobs, and the beacon is built for the first one. If you want to watch a machine publish raw unpredictability, the beacon’s pulses are the place to look. You might glance at pgbet 88 while the next pulse loads, then come back to the rulebook below.
What Regulators Demand From a Random Generator
Regulators set their own bar, and the UK Gambling Commission’s is written down. Its technical standard RTS 7 says random number generation and game results must be acceptably random, so that games and other virtual events run fairly.
The guidance behind it gets concrete. A generator’s output should be uniformly spread over its whole range, and it should be computationally infeasible to predict the next number from the ones already seen. Three more rules knock out common failures. A generator must not repeat the same output stream. Two instances must not produce the same stream. And seeding or re-seeding must not introduce predictability.
The commission also expects proof, not assertion. RTS 7 asks for randomness demonstrated to a high degree of confidence, for example through statistical analysis using generally accepted tests and methods. Say you were auditing a game engine against the standard. You’d check uniformity first, then the cycling and synchronising rules, then where the seed comes from. Each requirement targets a failure mode that has caught real systems, which is why the list is specific. The same chain of checks underpins any licensed site you might browse, pgbet 22 included, because it’s the standard that makes an outcome fair rather than merely plausible.
Inside the Test Lab: eCOGRA and Independent Certification
Somebody has to carry out that auditing. Independent laboratories exist for the job, and eCOGRA is one of the established names. It has operated since 2003 and works from the United Kingdom. RNG testing and game engine certification sit among the services it offers.
An operator or a regulator can send a generator to a lab of this kind and get an outside opinion instead of the vendor’s own word.
The lab’s competence has to be proven too. eCOGRA says it holds accreditation under the international standard for testing and calibration laboratories. Assessors working to that standard examine the lab’s procedures, the training of its staff and the condition of its equipment. They come back periodically to keep the certificate current.
That closes the loop in a practical way. The generator is tested, and the tester is tested as well, each link checked by someone else.
When a fairness claim carries the name of an accredited lab, that accreditation is what gives the report weight. A vendor’s own assurance is worth little next to it.
The Chain Behind Every Number
A number you can trust from a machine you’ll never see stands on a chain: a deterministic algorithm, a public rulebook like SP 800-90, and a lab accredited to ISO/IEC 17025:2017. Each link gets checked by the next.
Start with the accreditation. Look for a named laboratory and a stated accreditation before you take any site’s fairness claims at face value. If neither appears, treat the claims as marketing.




