Provably fair verifier
Check a round yourself, from its seeds. Paste the revealed server seed, your client seed and the round number: the verifier shows the server seed’s SHA-256 fingerprint to compare with the one published before the round, the HMAC-SHA256 the result comes from, the number drawn from it and the result. It all runs in your browser, so nothing is sent to us, and it works for Kapitan’s Dice, Crash, Limbo, Plinko and Mines.
In short
- What it checks: that the revealed server seed is the one whose fingerprint was published before you bet, and that the seeds give the result you got.
- What you need: the revealed server seed, your client seed and the round number (the nonce). The Provably fair panel under every game shows all three for each of your rounds.
- Where it runs: in your browser, with its own SHA-256 and HMAC-SHA256. The seeds never leave the page.
- The formula is HMAC-SHA256 of
client_seed:round_number, keyed with the server seed. The first 4 bytes make a number from 0 to 1, and each game turns it into a result.
Verifier
How to verify a round, step by step
- Reveal the seed. A server seed is revealed when you change seeds in the Provably fair panel. Until then it stays secret, since it would give away the rounds still to come.
- Copy the three values. Tap a round in the panel: it shows the revealed server seed, your client seed and the round number under “What we checked”.
- Paste them here, pick the game and, for Crash and Limbo, the edge the round was played at (recorded with every round), for Plinko the risk and rows, for Mines the number of mines.
- Compare the fingerprint. Paste the SHA-256 fingerprint the panel showed before you bet: the verifier says whether the revealed seed matches it. If it does, the seed wasn’t changed after you bet.
- Compare the result with the one you got. The same seeds always give the same result.
What each line means
- SHA-256 of the server seed is its fingerprint. It is published before the seed is used, so a different seed would give a different fingerprint.
- HMAC-SHA256 mixes the server seed with your client seed and the round number. Neither side can steer it alone: the server committed its seed before you picked yours.
- Number drawn is the first 4 bytes of the HMAC divided by 232: a number from 0 up to 1.
- Result: Dice rolls ⌊number × 100⌋ + 1. Crash and Limbo give (1 − edge) / (1 − number), rounded down to two decimals, from 1.00x to 1000x. Plinko reads one byte a row from the fifth, even for left and odd for right. Mines draws mine k from the HMAC of
client_seed:round_number:k.
Provably fair explains the commitments, Crash’s hash chain and Dice Duels, with code for Node.js that does the same check away from any site.
Checking another site’s rounds
Many crypto casinos use HMAC-SHA256 with a server seed, a client seed and a nonce, but they build the message and turn the bytes into a result in their own ways. The first two lines here (the SHA-256 fingerprint and the HMAC) work for any of them if their message is client_seed:nonce; the result line is Kapitan’s formula. If a site doesn’t publish its formula and a way to check it, its rounds can’t be verified.
Play and check
Play Dice · Play Crash · How provably fair works · Crash statistics
Frequently asked questions
What is a provably fair verifier?
A tool that recomputes a round from its seeds. It shows that the revealed server seed matches the fingerprint published before the round, and that the seeds give the result the game showed. This one runs in your browser.
How do I verify a provably fair round?
Change seeds so the server seed is revealed, then copy the server seed, your client seed and the round number from the Provably fair panel. Paste them here with the game, and compare the fingerprint and the result.
What if the fingerprint doesn’t match?
Then the seed you pasted isn’t the one that was committed: check for a missing character or a space first. A revealed seed that really doesn’t match its published fingerprint would mean the seed was swapped. Tell support with the round ID.
Is HMAC-SHA256 the same as SHA-256?
No. SHA-256 hashes one piece of text and is used for the seed’s fingerprint. HMAC-SHA256 hashes a message with a secret key, here the server seed, so the result depends on both and can’t be worked out without the key.
Why can’t I check a round before the seed is revealed?
Because the server seed is the secret that keeps the next rounds unknown. While it is in use only its fingerprint is public. Change seeds in the Provably fair panel and it is revealed at once.