iTech Labs - RNG Testing & Certification


iTech Labs has certified a large number of RNGs using different algorithms and/or hardware generators during the last 10+ years. We have evaluated RNG implementations in at least 10 different computer languages. We believe our experience in RNG evaluations is unmatched in the industry.

iTech Labs’ Random Number Generator (RNG) evaluation consists of verification of the following:

  • Statistical randomness
  • Internal state of the RNG
  • Unpredictability
  • Non-repeatability
  • Re-seeding and cycling

Correct operation of the RNG ensures that cards, die numbers, slot game symbols, feature game outputs, jackpot triggers etc. are statistically random and unpredictable. A correctly operating RNG gives players confidence in the gaming system and insures against unjustified player complaints.

RNG testing

Testing of the RNG is conducted in three stages.

  1. Examination of Source Code & Compilation
    • Identification of RNG algorithm and researching known weaknesses
    • Verify internal state of RNG
    • Verify RNG implementation caters for unpredictability and non-repeatability requirements
    • Verify seeding, background cycling and minimal re-seeding
    • Verify use of the random numbers, including scaling
    • Compile the RNG code (after all code issues are resolved)
  2. Raw numbers generated by the RNG algorithm are subjected to "diehard" tests.
  3. Generate sample scaled output and apply “Chi-square” tests e.g., if RNG is used to shuffle a deck of cards, then we would apply Chi-square tests to a wide range of shuffled decks.

The second and third stage tests determine statistical randomness, unpredictability and non-repeatability of the RNG. Our RNG evaluation fully complies with the requirements of the applicable gaming jurisdiction such as Australia, Alderney, Denmark, Gibraltar, Isle of Man, Italy, Kahnawake, Malta, Spain or UK.

RNG testing usually takes 1-3 weeks depending on how quickly the issues raised are resolved.

What are the deliverables after completion of RNG testing?

On completion of all stages of the RNG testing, our deliverables are the following:

  • A certification report outlining the evaluation conducted and the results of that evaluation
  • Test results for Diehard and Chi-square tests
  • A certification seal/logo to be placed on your gaming site, and
  • A linked certificate indicating compliance of the RNG with the tests carried out. The original certificate is maintained at the iTech Labs web site so authenticity can be verified.

Pseudo and Hardware RNG

Most of the RNGs we test are Pseudo or software RNGs. Hardware RNGs are usually backed up by Pseudo RNGs to take care of hardware failure. In case of hardware RNGs, we test the outputs from both the Pseudo RNG and hardware RNG.

Submission requirements

For Pseudo RNG the source code is required for the evaluation. For hardware RNG, information about the hardware device and output from the device are required. In order to test the scaling, code fragments that call the RNG are required (examples: scaling code for slot games, shuffling code for card games) for both Pseudo and hardware RNG implementations.

Recommended algorithms

We always encourage the use of well known public domain RNG algorithms. A non-exclusive list of such algorithms is given below:

  1. Mersenne Twister by Matsumoto and Nishimura (MT19937).
  2. RANLUX by Luscher.
  3. L'Ecuyer's Combined Multiple Recursive Generator.
  4. L'Ecuyer's Tausworthe generator.
  5. Ziff's Implementation of the gfsr4 generator.

How to start the process?

We offer excellent value for a quality service at a competitive price. Payment is required at the start of the evaluation. After your payment is received, the code can be submitted for evaluation. For RNG evaluations we offer a firm set price. Our fixed price includes consultations, unlimited retests after bug fixes, test results, detailed certification reports, hot linked certificates and logos.


Please contact us for additional information.