RNG Testing & Certification 2018-01-03T14:24:54+00:00

RNG Testing & Certification

Introduction
iTech Labs has certified over 300 RNGs in 14+ languages using different algorithms and hardware generators during the last 13 years. We believe our experience in RNG evaluations is unmatched in the industry.
iTech Labs’ Random Number Generator (RNG) evaluation consists of verifying of the following:

  • Statistical randomness
  • Internal state of the RNG
  • Seeding, re-seeding and cycling
  • Unpredictability and non-repeatability
  • Usage of random numbers including scaling and shuffling

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  Pseudo RNG  (Software RNG) is conducted in three stages:

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

For Hardware RNG (HRNG), the first stage is limited to the evaluation of the specifications of the device, as well as researching any weaknesses that may be present, and evaluating the code for hardware RNG failure detection and failover.

The second and third stage tests determine statistical randomness, as well as the unpredictability and non-repeatability of the RNG. Our RNG evaluations fully comply with all requirements of the applicable gaming jurisdictions, such as, for example: Australia, Alderney, Denmark, Gibraltar, Isle of Man, Italy, Kahnawake, Malta, Portugal, Spain and the UK. RNG testing usually takes 1-3 weeks, depending on how quickly the issues we raise are resolved by your team.

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 that authenticity can be verified

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 with backup PRNG, we test the outputs from both the Pseudo RNG and hardware RNG.

Submission requirements
For a Pseudo RNG, the source code is required for the evaluation. For a hardware RNG, information about the hardware device and output from the device are required. In order to test the scaling/shuffling, code fragments that call the RNG or shuffle code 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 PRNG algorithms. A non-exclusive list of such algorithms is given below:

  1. Mersenne Twister (MT)
  2. ISAAC 64
  3. Fortuna
  4. SHA1, MT+SHA1
  5. WELL1024A, WELL512A
  6. MD5 hash

Hardware devices 
We have certified HRNGs using the following hardware devices:

  1. Quantis, Quantis + MT
  2. ComScire

How to start the process
We offer excellent value for a quality service at a competitive price. For RNG evaluations, we offer a firm, set price. Payment is required at the start of the evaluation, and once this is received, you can submit your code for evaluation.  In the case of a hardware RNG, the output from the hardware device is required. Our fixed price includes: consultations, unlimited retests after bug fixes, test results, detailed certification reports, hot linked certificates, and logos.