At 02:14 a player who has just lost twelve dice rolls in a row opens the bet history, copies the server seed that was revealed when they rotated seeds, pastes it into the verifier together with their own client seed and the nonce 42, and gets 76.94.
The game showed 76.94. The player closes the tab and keeps playing. That is provably fair verification doing its job: a hash commitment published before the bet, a result anyone can recompute after it, and a support ticket that never gets written.
The same player, on a site where the verifier pulls the seed from the operator's own database instead of taking it as input, or where the formula is undocumented, gets a number that cannot be checked independently. The badge on the lobby says provably fair; the proof is missing.
This memo is for operator product, compliance and support leads deciding how player verification should work on their platform. It sets out the options, the procedure players follow, the build mistakes that empty the check of meaning, and a recommendation with costs.
The decision and the options on the table
The question is narrow: when a player wants to verify a round, what do we give them? There are three realistic answers.
Option A: rely on the game provider's verifier. Many studios that ship provably fair crash, dice, plinko or mines games host their own verification page. The operator links to it from the game history. Cost is close to zero. The weakness is that the player leaves your product, the page may be in another language, and if the provider changes its URL or formula your links break silently.
Option B: build a verifier inside the player account. The bet history row gets a "Verify" button that opens a page prefilled with the revealed server seed, the client seed, the nonce and the documented formula, computed in the player's browser. Support can send players straight to it. Engineering estimate for a team that already has the seed data exposed: about 2 to 4 sprint weeks including testing across every provably fair game type.
Option C: option B plus a published, standalone verification script. Same in-product page, plus a short open-source script or a static page that runs offline, so that a sceptical player does not have to trust code served by the operator. Extra cost is small, perhaps 3 to 5 days, mostly documentation.
The criteria that matter are independence of the check, support load, maintenance risk and cost. Option A is cheap but scores poorly on independence and maintenance. Option B removes most support tickets but still asks the player to trust a page you control. Option C closes that gap. The memo recommends C for in-house games and B with a provider link as a fallback for third-party titles, for the reasons set out in the last section.
Verifying a round step by step
Whatever option ships, the player procedure is the same. Constructions differ by studio, so the formula in step 5 must be the one the provider publishes for that specific game. The steps below describe the most common construction, where the outcome comes from an HMAC-SHA256 of the client seed and nonce keyed with the server seed.
- Before betting, note the hashed server seed the game displays. This is the commitment: a SHA-256 digest of a secret seed the operator cannot change later without the hash changing too.
- Set or note your client seed. If the game lets you choose it, choose your own; that stops the operator from picking a client seed that suits a pre-chosen server seed.
- Play, and record the nonce of the round you want to check. The nonce is a counter that goes up by 1 with every bet on the same seed pair.
- Rotate the seed pair. The game reveals the old server seed in plain text and shows a new hashed seed for future rounds.
- Hash the revealed server seed with SHA-256 and compare it with the commitment from step 1. If they differ, stop: the proof has failed.
- Recompute the outcome with the published formula, using the revealed server seed, your client seed and the nonce, and compare it with the result shown in your bet history.
Worked example, with values you can reproduce in any language that has SHA-256 and HMAC. The revealed server seed is the text 8f3c2a71d9e04b5f. Its SHA-256 digest starts with 31e85cee and ends with 790754e9, and that is the hash the game should have shown before the first bet. The client seed is lisbon-77 and the nonce is 42, so the message is lisbon-77:42. HMAC-SHA256 of that message keyed with the server seed gives a digest beginning c4fada26.
A dice game using a typical rule takes the first 8 hex characters, converts them to an integer, divides by 2 to the power of 32 and scales to 0 to 100 with two decimals. The integer is 3,304,774,182; divided by 4,294,967,296 it gives 0.76945; scaled and truncated, the roll is 76.94.
If the bet history shows 76.94, the round is consistent with the commitment. If it shows 76.95, look at the rounding rule before assuming fraud: truncation and rounding give different answers on about half of all rolls, which is why the formula must be written down to the last decimal.
commitment = SHA256(server_seed)
digest = HMAC_SHA256(key = server_seed, message = client_seed + ":" + nonce)
roll = floor( int(first 8 hex chars of digest) / 2^32 * 10000 ) / 100
What this proves is limited, and players and support staff should both know it. It shows that the result was fixed by inputs committed before the bet and that the operator did not swap the seed afterwards. It says nothing about the house edge, the payout table or whether the game's return to player matches what is advertised.
Mistakes that make the check meaningless
Most failures of provably fair are not broken cryptography. They are product and engineering choices that leave the maths intact while removing the guarantee.
- The verifier fetches the server seed from the operator's database by round ID instead of taking it as input, so the player is checking the operator's records against themselves.
- The server seed hash is shown only after the bet, or shown on a page the player cannot reach before playing, which turns the commitment into decoration.
- The client seed is generated by the server and cannot be changed by the player, giving the operator control over both inputs.
- Nonces are reused after a seed rotation fails halfway, so two rounds share the same inputs and one of them cannot be matched cleanly.
- The formula is not published, or the published version omits how bytes map to outcomes in games with more than one result per round, such as mines or plinko paths.
- The seed is never rotated unless the player asks, so a player who never rotates can never verify anything, while the lobby claims every round is verifiable.
- Rounding differs between the game server and the verifier, producing mismatches on a share of rounds and a steady trickle of accusations in support.
- Provably fair is marketed as a substitute for RNG certification and licensing, which misleads players and invites trouble with any regulator who reads the claim.
The last point matters for compliance. In licensed markets, regulators such as the Malta Gaming Authority or the UK Gambling Commission expect game RNGs to be tested by an approved laboratory. Provably fair verification can sit on top of that as a player-facing transparency layer. It does not replace it.
What the memo recommends, and what it costs
Recommendation: ship option C for any provably fair game the operator controls, and option B with a provider link for third-party titles where the studio's formula is documented. Do not show a provably fair badge on any game where the player cannot complete all 6 steps above.
The reasoning is mostly about support and trust. On crypto-first products, a noticeable share of disputes on instant games are fairness accusations after losing streaks. A prefilled in-product verifier lets first-line support answer with a link instead of escalating to engineering. Publishing the script costs a few days and removes the obvious objection that the operator controls the verifier.
Implementation plan, in order:
- Audit every game labelled provably fair against the 6 steps and remove the label where any step is impossible.
- Write one formula page per game type, including byte mapping, rounding and the handling of multi-outcome rounds.
- Build the in-product verifier so that it computes in the browser from inputs the player can see and edit.
- Publish a standalone version and test both against a fixed set of at least 1,000 known rounds per game, including edge cases such as a roll of exactly 0.
- Give support a short script that explains what a successful check proves and what it does not, with a link to the responsible gambling tools on the same page.
Budget: roughly 3 to 5 sprint weeks of one engineer plus QA time, a day of compliance review for wording, and a small ongoing cost each time a studio changes its formula. Against that, the operator gets fewer escalated tickets and a claim on the lobby that survives scrutiny.
Measure whether it worked. Track three numbers for 90 days before and after launch: fairness-related tickets per 10,000 instant-game bets, the share of those tickets escalated past first-line support, and the number of verifier runs per week. If verifier runs climb while escalations fall, players are using the tool instead of writing in. If runs stay near zero, the button is probably buried, and the history row is the place to surface it.
The trade-off verdict is straightforward. Option A costs nothing and gives players a check they have to take on trust, which is a weak position the first time a provider page goes down during a dispute. Option C costs a few weeks and makes the proof independent of the operator, which is the whole point of the concept.
For an operator whose brand leans on provably fair games, the few weeks are worth paying; for one that carries two or three such titles inside a large certified-RNG catalogue, option B with clear wording about what the check proves is enough.