Verification
Provably fair verification, end to end
Commitments, HMAC-SHA256, seed rotation and nonces — the whole chain from a hash published before the bet to a result you can recompute yourself.
ProvablyFair.click · November 21, 2026

The problem a commitment solves
A digital dice roll happens inside a computer the player does not control. Without any safeguards, the operator could generate the outcome after seeing the wager, keep generating until the result suits the house, and present the final number as if it had been fixed all along. The player would have no way to tell the difference between an honest roll and a chosen one.
Provably fair design answers that with a commitment. Before the bet is placed, the operator fixes the secret that will decide the outcome and publishes a cryptographic hash of it. A hash is one-way: it binds the operator to that secret without revealing it. If the operator later reveals a different secret, the hash will not match — and anyone can check.
Step 1: the server seed and its hash
The secret is called the server seed: a random string generated by the operator. In the pfc-hmac-v1 reference protocol, the commitment is the SHA-256 hash of the seed’s UTF-8 bytes, written as lowercase hexadecimal: commitment = hex(SHA256(UTF8(serverSeed))). The site shows you this hash before you play, in its fairness panel or bet details.
Two properties do the work. First, preimage resistance: from the hash alone, nobody can work out the seed, so publishing it leaks nothing about future outcomes. Second, binding: SHA-256 collisions are not practically findable, so the operator cannot later present a different seed that hashes to the same commitment. The seed is locked in from the moment the hash is public — provided the publication itself is recorded somewhere trustworthy, which is why serious operators timestamp or anchor it.
Step 2: your seed and the nonce
The operator’s seed is only half the input. The player contributes a client seed — a string you can usually view and change in the fairness panel — and every bet carries a nonce, a counter that starts at a known value and increases by one for each round played under the same seed pair. Your seed means the operator cannot precompute a run of outcomes tailored to you, because your input is mixed into every result.
The nonce is what makes each round unique even though the seeds stay the same for a whole session. Round 17 and round 18 use identical seeds but different nonces, so they produce unrelated outcomes. When you verify a bet, the nonce is not a detail: a nonce that is off by one produces a completely different result, and “the numbers don’t match” is most often a wrong nonce rather than a rigged game.
Step 3: the reveal and seed rotation
While a server seed is active, it stays secret — revealing it early would let anyone compute upcoming outcomes. When the operator rotates to a fresh server seed, the old one is revealed, and that reveal is what makes every bet under it verifiable. A well-run rotation also publishes the next seed’s hash before or as the change happens, so the chain of commitments has no gap in which an uncommitted seed was in play.
This is the moment to check your history. Take the revealed server seed, hash it yourself — any SHA-256 tool will do — and compare it with the commitment the site showed before you bet. In pfc-hmac-v1 the comparison is exact: trimmed, lowercase hex, no whitespace stripped from the seed itself before hashing. A match proves the revealed seed is the seed that was committed to. A mismatch is not a rounding error; it means the revealed seed is not the one that was promised.
Step 4: recomputing the outcome
With the seed pair and nonce confirmed, the outcome is a deterministic calculation. The protocol derives a stream of bytes with HMAC-SHA256, using the server seed as the key and a message built from the other inputs: digest = HMAC_SHA256(serverSeed, clientSeed + ":" + nonce + ":" + round), where round counts 0, 1, 2, … so a game that needs more randomness than one digest provides continues the stream with the next counter.
Each 32-byte digest yields eight fractions in [0, 1), each built from four bytes as f = b0/256 + b1/256² + b2/256³ + b3/256⁴. The game mapping then turns fractions into results: dice takes roll = floor(f × 10001) / 100, giving 0.00 to 100.00; mines and keno draw without replacement by selecting floor(f × remaining pool size) and removing the item; card games deal from the stream in a defined order. Same inputs, same fractions, same outcome — on any computer, forever.
Step 5: comparing against the record
The last step is a comparison, and it is yours to make. The verifier computes the reference outcome from the revealed evidence; you compare it with the outcome the operator recorded for that bet. Our API does this comparison for you when you supply the observed outcome — a match returns verified_reference_round — but the tool never sees the operator’s books, so the honest statement of what passed is narrow: the supplied evidence reproduces the supplied result under the reference protocol.
Treat the possible answers distinctly. A commitment mismatch means the seed was not the committed one. An outcome mismatch with a matching commitment means the game’s mapping differs from the reference — possibly a different protocol version or settings, possibly something worse — and the operator should be able to say which. Missing inputs, an unrevealed seed or an unsupported game make the round inconclusive, not failed: absence of evidence is not evidence of tampering, but it is a reason the bet cannot be checked at all.
What the proof never covers
End-to-end verification of a single round says nothing about the rounds you did not check. An operator could discard unfavourable rounds before they reach your history, choose when to rotate seeds, apply a payout table different from the published one, or settle a correct outcome incorrectly. None of those are visible to a seed check, which is why verification is the floor, not the ceiling: audits examine the game and its configuration as a versioned whole, and monitoring re-checks rounds continuously after certification.
It also says nothing about whether the game is a good bet. A perfectly verified slot can still return 93.87% — the exact analytic RTP of our 3-reel reference configuration — and a verified dice roll loses exactly as often as the maths says. Provably fair proves the outcome was the committed outcome. Whether the odds were fair, the payouts right and the operator honest in everything else are separate questions, with separate evidence.
Doing it yourself
None of this requires trust in us. The protocol is published in our documentation, the reference engine is a versioned package, and the same calculation runs free in the browser verifier, over the REST API and over MCP — 10 calls a day with no key at all. Verify one of your own settled bets: find the commitment shown before the bet, rotate the seed to force the reveal, and recompute. Five minutes of checking teaches more than any badge.
And if a site cannot produce the pieces — no commitment before the bet, no reveal after rotation, no client seed or nonce in the record — that is itself the answer. A game that cannot be verified is not provably fair, whatever its marketing says.