1. Home
  2. News
  3. How provably fair gaming works

How provably fair gaming works

29 November 2026

What cryptographic proof can and cannot confirm about an online bet

Provably fair gaming uses cryptography so that a player can check that the outcome of a single bet was fixed before the bet was placed and was not changed afterwards. It is mainly found at cryptocurrency gambling sites, where the player, not a third party, does the checking. This article covers how the scheme generates a result, how a player verifies it, and where its guarantees stop.

Server seed, client seed and nonce: the commit-reveal idea

The scheme described by gamingcompliance.io's comparison of provably fair and RNG certification rests on three inputs. Before play, the operator publishes a hash of a secret server seed. Publishing the hash commits the operator to that seed without revealing it, because any later change to the seed would produce a different hash. The player supplies a client seed, and a nonce, a counter, increases by one with every round. Each outcome is derived from these three values together. Once the operator reveals the old server seed, the player can recompute the result from the server seed, client seed and nonce.

How a dice game turns seeds into a roll

The dice model in dicesim.com's provably fair guide shows the steps in detail. For the commitment, the server seed is hashed with SHA-256, the function commonly used for this purpose. For each bet, the game runs HMAC-SHA512 with the server seed as the key and the message clientSeed:nonce:cursor. In the normal mode of one roll per bet, the cursor is 0. The game then takes the first four bytes of the HMAC output, turns them into a fraction, multiplies that fraction by 10,001 and rounds down, which gives a roll from 0.00 to 100.00. Because every input except the server seed is known to the player, and the server seed is locked in by its published hash, the operator cannot steer the roll once the bet is placed.

The two checks a player runs after a bet

As zerodash.studio's technical deep dive sets out, verification takes two steps. First, the player hashes the revealed server seed and confirms it matches the commitment published before play. A mismatch means the seed was swapped. Second, the player feeds the server seed, client seed and nonce into the documented formula and compares the computed result with the outcome the site recorded. If both checks pass, the recorded result is the one the committed inputs produce.

What a passing check does not prove

A successful verification shows that the result was fixed before the bet and not altered afterwards. According to dicesim.com, it does not show that the house edge has disappeared, since the game's odds and payout table still favour the operator. Nor does it prove that the payout credited to the player was correct; the cryptography covers the roll, not the amount paid out for it.

Provably fair versus certified RNG

The two approaches check different things, as ohsgaming.com's knowledge base entry on provably fair explains. Provably fair lets the player verify an individual result. Certified RNG relies on independent laboratories that test a game's randomness and its mathematics, including how outcomes translate into returns. Gamingcompliance.io names GLI, iTech Labs, BMM Testlabs and eCOGRA as examples of accredited labs cited for RNG certification in the UK.

Why the difference matters for players in Great Britain

Regulated online gambling in Great Britain uses the certification model: an accredited lab tests the game, and the player relies on that testing rather than checking bets personally. Provably fair, common in crypto gambling, offers transparency for each individual bet but leaves the house edge and payout accuracy outside what the player can prove. A player choosing between the two is choosing between lab testing of the whole game and a personal check of each roll.