The house keeps an edge on every game. No staking system removes it.

18+Adults only

How a certified game version is checked: hashes and signatures

A hash is a fixed-length fingerprint computed from a file. If the fingerprint of the live game files equals the fingerprint recorded at certification, the files are the same. A digital signature adds proof of who issued that record. Kenyan rules require re-testing and notification of changes, but do not describe the hash method.

The short answer

When a test laboratory certifies a game, it examines one exact set of files. Later, someone needs a quick way to confirm that the files running on a server are still that set. A hash does this job.

This guide explains the idea in plain terms, shows where it fits in the certification chain described in Kenyan rules, and is clear about what the rules say and what they leave unsaid.

What a hash is

NIST, the United States standards body, describes a hash algorithm as one that maps a message of arbitrary length to a fixed-length message digest. FIPS 180-4, the Secure Hash Standard, specifies the SHA-2 family, which includes SHA-256. According to NIST, SHA-256 produces a 256-bit output.

A digest is a fingerprint, not a copy. A 50 MB game package and a one-line text file both produce a digest of the same length, and the digest cannot be turned back into the file. NIST defines this one-way property as the computational infeasibility of finding any input that maps to a pre-specified output.

Illustrative example. A SHA-256 digest has 256 bits. One hexadecimal character stands for 4 bits, so the digest is written with 256 / 4 = 64 characters. The package could be 50 MB or 500 MB and the written digest is still 64 characters.

Why matching hashes mean matching files

NIST defines collision resistance as the computational infeasibility of finding any two distinct inputs that map to the same output. If that holds, two files with the same digest are, for practical purposes, the same file. Change one file in the package, even slightly, and the check should no longer match.

The security strength matters too. NIST lists SHA-256 with a collision resistance strength of 128 bits and a preimage resistance strength of 256 bits. A strength of 128 bits means roughly 2^128 operations of effort, a number so large that guessing is not a realistic route to a forged match.

Where the check fits in the certification chain

StepWhat happensSource for the step
1. SubmissionThe supplier names an independent testing laboratory and submits the software build for testing.Licensing Regulations, Form 12, section C2
2. FingerprintingThe build is reduced to digests, typically one per file or one for the package. This is a general technical practice, not a step the Kenyan text prescribes.NIST FIPS 180-4 (the hash method)
3. CertificationThe random number generator is certified by the Authority or its approved agent to statistically test randomness and theoretical return to player.Operations Regulations, r.45(2)
4. SigningThe record of digests is signed, so a verifier can confirm who issued it and that it was not altered. Again a general practice.NIST definition of digital signature
5. VerificationThe digests of the live files are recomputed and compared with the signed record.General practice
6. Change controlA material change is notified within seven days and a significant modification is not deployed without prior approval or notification. The supplier commits to re-testing before deployment.Operations Regulations, r.47(1); Form 12, sections C2 and F1

Rows 2, 4 and 5 are marked as general practice because the Kenyan regulations read for this guide do not describe a hashing or signature procedure. They set the duties (certify, notify, re-test) and leave the technical means to the laboratory and supplier. For the testing side, see the guide to how RNG testing and certification work in Kenya.

What a digital signature adds

A hash on its own is only as trustworthy as the place it is stored. Someone who could change a game file could also write a new matching digest next to it. A digital signature closes that gap.

NIST sources define a digital signature as a result that, when properly implemented, provides origin authentication, data integrity and signatory non-repudiation. In SP 800-63-4 the mechanism is described as one where a private key signs and a public key verifies. Anyone with the public key can check the record, but only the holder of the private key could have produced it.

A worked comparison

Illustrative example. A certified package has three files, A, B and C. The signed record lists a digest for each. On a later check, the verifier recomputes the digests of the files on the server.

  1. File A: recomputed digest equals the record. Match.
  2. File B: recomputed digest equals the record. Match.
  3. File C: recomputed digest differs from the record. Mismatch.

Two of three files match, but the package as a whole does not. The mismatch says that file C is not the certified file. It does not say why: an authorised update that was never recorded, a corrupted copy and a deliberate alteration all look the same. The follow-up is a question for the supplier and the regulator, and the rules on notification and re-testing are what give that question force.

What a hash check cannot show

The related question of what happens to the declared percentage after certification is covered in the guide on whether a casino can change a certified game's RTP.

Not the same as a provably fair hash

Some crash and dice games publish a hash for a different purpose: to commit to a hidden value before a round is played so that it cannot be swapped afterwards. That use is explained in the guide to provably fair seeds and hashes. It checks a single round result, not the version of the whole game software.

Laboratories publish their technical standards publicly; for example, Gaming Laboratories International lists GLI-19, Interactive Gaming Systems v3.0, on its standards page. The licensing side of laboratories in Kenya is covered in the guide to the gambling equipment testing licence.

Gambling is addictive. Play responsibly, only with money you can afford to lose, and remember that a verified game still has a built-in cost. The 18+ rule applies.

Questions and answers

Do Kenyan regulations require casino game software to be hash-checked?

The Conduct of Gambling Operations Regulations, 2026 and the Licensing Regulations, 2026, as read for this guide, do not name hashing or signatures. They require RNG certification, notice of material platform changes within seven days (regulation 47(1)) and, in Form 12, re-testing before deployment. How a version is matched to its certificate is a technical method used by test labs and suppliers.

What does it mean if two files have the same hash?

For a secure algorithm such as SHA-256, NIST describes collision resistance as the computational infeasibility of finding two distinct inputs with the same output. Matching hashes therefore mean, for practical purposes, that the files are identical.

Is a hash the same as encryption?

No. A hash maps data of any length to a fixed-length value and is not meant to be reversed. Encryption hides content so that it can be recovered with a key. A hash only fingerprints.

Can a player check a game's hash?

In most cases no, because the game files run on the operator's or supplier's servers. A player can check the declared return to player and rules on screen, and can read about provably fair systems, where a hash is published for a different purpose.

Why is a signature needed if a hash already exists?

A hash list that anyone can edit proves nothing, since a changed file could be paired with a new hash. A digital signature lets a verifier confirm that the list came from the signer and was not altered afterwards.

Sources

  1. NIST Computer Security Resource Center, Hash Functions (SHA-2 family, FIPS 180-4), accessed 2026-11-02
  2. NIST Secure Hash Standard, FIPS 180-4 (publication page), accessed 2026-11-02
  3. NIST CSRC Glossary: digital signature (FIPS 186-5, SP 800-63-4, SP 800-57 Part 1 Rev. 5), accessed 2026-11-02
  4. NIST CSRC Glossary: hash function (collision resistance, one-way property), accessed 2026-11-02
  5. Gambling Control (Conduct of Gambling Operations) Regulations, 2026 (L.N. 112), regulations 41, 45, 47, accessed 2026-11-02
  6. Gambling Control (Licensing) Regulations, 2026 (L.N. 111), Form 12, sections C2 and F1, accessed 2026-11-02
  7. Gaming Laboratories International, GLI Standards (lists GLI-19, Interactive Gaming Systems v3.0), accessed 2026-11-02