Provably Fair Explained: How It Works and How to Verify Game Results
Provably fair lets you check a game result against cryptographic commitments and a published calculation. Learn what seeds, hashes and nonces do, how verification works, and where its guarantees end.

Provably fair is a way to check a single game result yourself instead of taking the casino's word for it. Before you bet, the game commits to a secret value by showing its hash. After the round, or after the secret is retired, the game reveals the value, and you can rerun the calculation to see whether the recorded result follows from it.
The approach grew up in crypto casinos and now runs some of the most searched games in iGaming, including the crash game Aviator. Operators present it as a trust feature for players who want to see how a result was produced. This guide explains what the cryptography does, walks through a verification step by step with a test example you can reproduce, shows how real games implement it and where implementations have failed, and sets out what a matching result does not prove.
📌 Provably fair in four facts
| It checks one record | A successful check shows that a recorded result follows from inputs committed to before the bet and a disclosed algorithm |
|---|---|
| Timing is the proof | A hash shown only after the round proves nothing. The commitment has to exist before the wager |
| It does not change the odds | A verifiable game can still have a house edge. Verification and payouts are separate questions |
| It is not a licence | Provably fair does not replace independent RNG testing or the rules of the market where you play |
What does provably fair mean?
Provably fair is a method for checking that a recorded game result is consistent with inputs committed to beforehand and a disclosed algorithm. In a typical commit-reveal system, the operator publishes a commitment to a secret value, uses that value in the game calculation, and later reveals it so the result can be reproduced.
The important word is "checking". A fairness label is a claim. A successful verification needs the original commitment, the correct inputs and the actual game algorithm. A hash displayed only after the event is not evidence that the operator committed to it before the wager.
A matching calculation supports one specific conclusion about that recorded result. It does not certify the rest of the casino's operation, guarantee withdrawals or remove the house edge.
Seeds, hashes and nonces
| Term | Meaning |
|---|---|
| Server seed | A secret input supplied by the game system. Its commitment is made available before use |
| Server seed hash | A digest used to check a later reveal against the earlier commitment |
| Client seed | A player-influenced input. How it is generated and changed depends on the implementation |
| Nonce | A counter or similar value that distinguishes uses of the same seed pair |
| Cursor or counter | An extra parameter some implementations use when a game needs more generated data |
| Outcome mapping | The rules that turn generated data into dice values, cards, positions or another game result |
Different inputs can still produce the same visible outcome. A nonce makes two calculations different, but it does not stop two consecutive dice rolls from both showing 3.
Hashing is not encryption
Provably fair is often described as "encryption", but the core tools are hash functions. SHA-256 produces a fixed-length digest from any input. HMAC-SHA256 combines that hash function with a secret key. The two play different roles: a system may hash a seed to commit to it and use HMAC to generate the data for a result (NIST FIPS 180-4, NIST FIPS 198-1).
You verify a reveal by hashing the disclosed seed again and comparing the two digests. You do not decrypt the original hash to recover a hidden seed. Encoding and exact bytes matter: a string that looks hexadecimal is not automatically treated as decoded binary.
How provably fair games work
The steps below describe a common pattern, not a universal formula. A multiplayer crash game, a card game and a dice game may use different commitments, data sources and mappings.
- The system commits to a server seed. Before the wager or round begins, the system makes a cryptographic commitment available. The player should be able to save it and link it to the seed period or round it covers.
- Player input is set. The client seed is selected or generated under the documented procedure. Timing matters: player influence means less if the operator can choose its commitment after seeing all relevant inputs. An editable seed is not a way to pick winning outcomes.
- The game records the remaining inputs. The record identifies the nonce and any cursor, round ID, external input or player choices needed to rebuild the result. A screenshot of the final result alone may not contain enough information.
- The algorithm generates data. A deterministic calculation produces the same data from the same complete inputs. Stake, for example, publishes an implementation that uses HMAC-SHA256 with the server seed as the key and the client seed, nonce and a round counter in the message (Stake implementation). That is one implementation, not a rule every game follows.
- The data becomes a game outcome. A mapping converts generated data into the game's events. This step matters as much as the hash: it defines which values become which outcomes. Reproducing the intermediate digest is not enough if the dice value, card order or payout cannot also be checked.
- The retired seed is revealed. This may happen after one round or after a seed is rotated out of use. A seed that still decides future outcomes must not be exposed while those outcomes are open for betting. Stake's published process reveals the previous server seed when the player rotates to a new pair.
- The player checks the historical result. The player compares the revealed seed with the saved commitment, reruns the documented calculation and compares the rebuilt outcome with the recorded game. Verification looks back at a completed event. It does not predict the next one.
Why the full record matters
Imagine a verifier that reproduces a roll but never checks when the seed hash was published. It can show that the numbers are consistent with each other without showing that the operator committed before accepting the wager. A useful check covers both the commitment and the outcome, using a record the player saved rather than a later assertion.
How real games implement provably fair
The same idea looks different in every product. Four public implementations show the range, and each one puts the commitment, the player input and the reveal in a different place.
Stake Originals: per-bet seeds with player rotation
Stake says that all of its in-house Stake Originals games can be verified on its site and through third-party tools that publish their verification code (Stake overview). Its server seed is a random 64-character hex string, and the player sees its hash before placing any bet. Each result uses HMAC-SHA256 keyed with the server seed, with the client seed, nonce and a round counter in the message. The nonce increases with every bet. To see the server seed, the player rotates to a new seed pair, and the old one is revealed (Stake implementation).
Crash seeding events: one chain of results for every player
A multiplayer crash round has one result for everyone, so a per-player seed does not fit. Bustabit's answer, published in January 2015, was a seeding event. The operator generated a chain of 10 million SHA-256 hashes, each the hash of the previous one, and committed to the end of the chain in public. Games play through the chain in reverse, so each revealed result can be hashed forward to the published value. Each hash is salted with the hash of Bitcoin block 339,300, which had not been mined when the post went up, so the operator could not pick a salt in its own favor (Bustabit seeding event).
Stake ran the same kind of event for its Crash game in July 2019, with a 10-million-hash chain salted with Bitcoin block 584,500, also unmined at the time of posting (Stake Crash seeding event).
Spribe Aviator: the first three bettors contribute seeds
In Aviator, Spribe's crash game, the round result is not generated by the server seed alone. It combines the server seed with seeds from the first three players to place a bet in that round (Spribe). Spribe also names the commercial reason for building it this way:
“This creates a transparent model in which players can verify results themselves. For operators, it can also help reduce concerns and support requests related to whether game outcomes have been manipulated.”
BGaming: the result is committed before the player adds a seed
BGaming runs provably fair in some of its slots and table games, including Aztec Magic Deluxe, Lucky Lady Clover and French Roulette. Before a round, the game calculates a result, adds a random secret and shows the player the SHA-256 hash of the two. The player can then enter a client seed, and after the round the game reveals the result and the secret so the hash can be checked. In roulette, the client seed is a number from 0 to 36 that shifts the precalculated result (BGaming). It is a different design from Stake's: the commitment covers the result itself, not a seed that generates it.
Offering verification is still not the norm. When University of Bristol researchers reviewed 40 frequently visited crypto gambling sites, only 12 of the operators displayed provably fair information, and 19 gave information about RNG fairness (Andrade et al., 2022).
📚 Read more: What Is a Crash Game in iGaming?
Where provably fair games draw player interest
Blask does not verify seeds, certify fairness or see individual bets. Blask Games measures two other things: how much lobby space each provider holds across tracked casinos (Provider Content Share) and how player interest splits between named games (Share of Interest). Aviator, whose provably fair mechanism Spribe describes publicly, shows how far these two can diverge.
| Market | Spribe's share of lobby content | Aviator's share of player interest | Aviator's rank among named games |
|---|---|---|---|
| Canada | 0.9% | 29.6% | 1 |
| Italy | 0.9% | 27.2% | 1 |
| Germany | 0.4% | 8.2% | 3 |
| India | 1.7% | 7.4% | 4 |
| Spain | 1.1% | 1.3% | — |
| United Kingdom | 0.3% | 0.8% | — |
In Canada and Italy, a single provably fair crash game drew more player interest in October 2026 than any slot, while its provider held less than 1% of lobby content. In Spain and the United Kingdom, Aviator's interest was close to its lobby presence.
The data does not show that players choose Aviator because results can be verified. Crash games also differ from slots in pace, social features and simplicity. It does show that verification is built into one of the most sought-after games in several large markets, not only into niche crypto titles. For more on how lobby share and interest diverge, see our guide to casino game providers and our analysis of Aviator.
How to verify a provably fair result
Start with the instructions for the exact game and version. A calculator built for another title can give a different answer even when the seeds look similar.
- Save the pre-wager commitment and note which game or seed period it covers.
- Keep the bet ID, client seed, nonce, game settings and any other documented inputs.
- Wait for the server seed to be revealed through the game's documented procedure. If rotation is needed, use the official controls.
- Hash the revealed server seed with the specified encoding and algorithm. Compare the result with the saved commitment.
- Run the game-specific generation and mapping algorithm. For a game with player choices, include the recorded choices and their order.
- Compare the rebuilt events and, where supported, the payout with the bet record. Keep the evidence if they differ.
A platform's built-in checker is convenient. For a more independent check, use code you can run locally or a separate verifier whose implementation you can inspect. Running the same operator-controlled interface twice does not create independent evidence.
A reproducible example with invented inputs
This six-sided die example is for teaching only. It is not a casino algorithm, a betting tool or a production-ready randomness system. The seeds are public test strings and must never be reused as real secrets. The example shows commitment checking and result reconstruction, nothing more.
| Input | Value |
|---|---|
| Server seed | blask-example-server-seed |
| Client seed | reader-example |
| Nonce | 0 |
| Message | reader-example:0 |
| Encoding | UTF-8 text for the seed and the message |
SHA-256 commitment:caf91fd8c3789c86b30f022207c971b4
f52e372ff0f8c794779bbe11c888efc3
HMAC-SHA256 output:32f748edc60f84155ca7051c9c081c87
44c5920f4fb7424e7859daab137e6413
The example reads the output bytes in order and accepts the first value below 252. The first byte is hexadecimal 32, which is decimal 50. The die value is (50 mod 6) + 1 = 3.
Why 252? It is the largest number of byte values that splits evenly into six groups of 42. Values 252–255 are skipped to avoid the bias that would come from mapping all 256 byte values with modulo 6. This demonstration stops with an error if a digest contains no acceptable byte. A production design needs a fully specified way to continue.
Run the example locally
Python's standard library is enough to reproduce these values. The code checks the expected commitment, digest and die value. It does not verify any casino's games.
import hashlib, hmac
server = "blask-example-server-seed"
client = "reader-example"
nonce = 0
commitment = hashlib.sha256(server.encode("utf-8")).hexdigest()
assert commitment == ("caf91fd8c3789c86b30f022207c971b4"
"f52e372ff0f8c794779bbe11c888efc3")
message = f"{client}:{nonce}".encode("utf-8")
digest = hmac.new(server.encode("utf-8"), message, hashlib.sha256).digest()
assert digest.hex() == ("32f748edc60f84155ca7051c9c081c87"
"44c5920f4fb7424e7859daab137e6413")
value = next((x for x in digest if x < 252), None)
if value is None: raise ValueError("No accepted byte in this test digest")
roll = value % 6 + 1
assert roll == 3
print(commitment, digest.hex(), roll, sep="\n")
What if the result does not match?
A mismatch needs investigation. It is not automatic proof of deliberate manipulation. First check the game version, seed period, nonce, text encoding, separators, cursor, rounding rules and any recorded choices. A copied space, or a counter that starts at zero read as starting at one, can change the result.
Keep the original commitment, the bet record and your reproducible output. Ask for the exact published specification and an explanation of the difference. If the inputs are complete and the published method still fails to reproduce the result, the fairness claim for that record remains unresolved. Use the operator's complaint process and any dispute route available in your market.
⚠️ Security: A verifier should never ask for your account password, two-factor code, recovery phrase or wallet private key. Checking a past result needs only the disclosed game inputs. Do not paste an active, unrevealed seed or account credentials into a third-party checker.
What provably fair does and does not prove
Provably fair and house edge
A verifiable game can still have unfavorable odds. Verification concerns how the result relates to the recorded inputs and rules. House edge concerns how outcome probabilities relate to payouts.
Take a hypothetical game: a win has a 49% probability, and a winning $1 bet returns $2 in total, including the stake. A loss returns nothing. The expected return is 0.49 × $2 = $0.98 per $1 bet, a 2% house edge under those assumptions. Every outcome can be reproducible while the payout structure still favors the house.
The matching 98% theoretical return is a long-run expectation, not a promise that an individual player will get back 98% of what they spend. See our guide to RTP for how that figure works. A correctly verified losing bet is still a losing bet.
A matching result has a limited scope
| Question | Does one matching verification answer it? |
|---|---|
| Does this record reproduce? | Yes, for the complete inputs and algorithm actually checked |
| Was the seed committed in advance? | Only if the earlier commitment and its link to the round were saved and checked |
| Are all outcomes statistically sound? | No. Seed generation, mapping and distribution need separate assessment |
| Will the casino pay withdrawals? | No. Payment practices and financial reliability are separate |
| Is the operator licensed where I live? | No. Check the relevant authority and its territorial rules |
| Can I predict the next result? | No. Verifying a retired seed says nothing about future rounds |
Implementation and process still matter
A public formula cannot make up for missing records or a misleading implementation. Useful questions include who can change the inputs, whether commitments are made in time, whether the game on screen uses the published algorithm, and what happens to interrupted or rejected rounds.
There is also a difference between reproducing completed rounds and checking how every accepted wager was handled. If unfavorable generated events could be dropped or treated differently, verifying only the surviving records would leave that question open. This is a reason to check record completeness and interruption rules, not a claim that every implementation has this flaw.
That is why "trustless casino" overstates the case. Cryptographic evidence reduces how much you rely on an operator's word about one game calculation. It does not remove operational, security or consumer-protection dependencies.
When provably fair went wrong
Documented failures rarely broke the hash function. They broke the process around it: when a seed is revealed, which rounds are kept and how the secret is generated.
| Case | What went wrong | What it shows |
|---|---|---|
| Primedice, 2014 | A user flooded the server with requests until it revealed a server seed that was still in use. Knowing upcoming results, the attacker bet accordingly; the operator put its loss at around 2,400 BTC (Primedice post-mortem) | The reveal step must never expose a seed that still decides future rounds |
| DiceBitco.in, 2014 | Code merged without review skipped some players' winning bets. Players spotted gaps in their nonce sequence, for example 46 followed by 48. The operator admitted it and blamed a newly hired programmer (Cointelegraph) | Verification can catch manipulation, but only if players check that no records are missing |
| CSGOJackpot, 2015 | The site published an MD5 commitment to each round's winning percentage, but generated that number with JavaScript's Math.random(), which is not cryptographically secure. A researcher predicted results until the site fixed it about two hours later (Jonas Nick) | A commitment proves the value was not changed. It does not make a predictable value random |
In the DiceBitco.in case, the system worked as intended in one sense: the records players could check exposed the gaps. Without those checks, the rounds that disappeared would have left no trace in the surviving history.
Game types, RNG testing and regulation
Which games can use provably fair?
Provably fair is a property of a specific implementation, not a payment method or a game genre. Check the specific title and version rather than assuming every game in a crypto casino uses the same verification system.
| Format | What the verifier needs to rebuild |
|---|---|
| Dice | The generated value, scaling and rounding rules, the target and the payout |
| Crash | The round's commitment scheme and multiplier calculation. Multiplayer designs may differ from per-bet seed models |
| Plinko | The generated path, board settings and the payout table |
| Mines and cards | The layout or shuffle method, event order and any player choices |
| Slots | The random events, game state, game mathematics and mapping. Complexity raises the disclosure burden, but there is no blanket technical bar |
Stake publishes separate event mappings for several game formats, which shows why one generic seed calculator cannot verify every game (Stake conversions, Stake game events). A published byte-generation function is only one layer of the calculation.
Provably fair vs independently tested RNG
The two approaches answer overlapping but different questions. A player-facing verifier rebuilds recorded results. Independent testing can examine the random number generator, the outcome mapping and other parts of a product within a defined scope. Neither label should be stretched beyond the evidence behind it.
For British licensees, the UK Gambling Commission sets requirements for random outcomes and a testing strategy that includes external testing and submitting test reports before release (UKGC RTS 7, UKGC testing procedure). A provably fair badge does not show compliance with those requirements.
What the GLI standard says
GLI-19 version 4.0, dated 3 November 2026, addresses commit-reveal RNGs directly in sections 5.5 and 6.6.3. It covers commitments, disclosed inputs and algorithms, reproducible outcomes and delayed reveal when a seed is retired or rotated. It also separates result consistency from statistical randomness, unbiased distributions and compliance with the game's mathematics (GLI-19 v4.0).
GLI-19 is a technical standard. It is not a gambling licence, and its publication does not mean every regulator has adopted it. Check the requirements of the actual market, game and operator. The practical conclusion: provably fair verification and independent testing can work together.
The standard also speaks to the record-completeness problem described above. Section 6.6.3 requires the platform to prevent the selective modification, substitution, omission or regeneration of committed inputs or generated outcomes based on the value of an outcome, except where the approved game rules allow it.


%20in%20iGaming-0f9ipd.png)

