How it works
Every result is calculated from three ingredients:
- Server seed – a secret random text chosen by the casino. Before you bet, you only see its hash (a fingerprint).
- Client seed – a text chosen by you, which you can change at any time.
- Nonce – a counter that goes up by one with every bet.
1. The casino commits to its seed
The casino shows you the SHA-256 hash of the server seed. A hash cannot be reversed, so you learn nothing about the seed – but the casino can no longer swap it for another one without the hash changing.
2. You add your own seed
Because the result also depends on your client seed, the casino cannot pick a server seed that gives results it likes: it does not know what you will add.
3. The result is calculated
The seeds and the nonce are combined with a cryptographic function, usually HMAC, and the output is turned into a dice roll, a card or a crash point.
4. You verify
When you ask for a new server seed, the casino reveals the old one. You check that its hash matches the one you were shown, and recalculate every roll you made.
Try it: dice roll verifier
Change the seeds or the nonce and watch the result. The same three inputs always give the same roll.
- Server seed hash – shown before you bet
- …
- HMAC-SHA256(server seed, client seed:nonce)
- …
- Roll
- …
The roll is taken from the first five characters of the HMAC that give a number below 1,000,000; its last four digits are the roll from 0.00 to 99.99. This is one common scheme – each casino documents its own, so use the formula from its fairness page when you verify real bets.
What provably fair does not mean
It proves that results are not manipulated. It does not make the game fair in the sense of even odds: the house edge is built into the payouts and stays exactly the same.
It also says nothing about whether the casino pays out, so its reputation and licence still matter.
Is this simulator provably fair?
No, and it does not need to be. Our dice simulator runs entirely in your browser with play money and uses the browser’s random number generator – there is nobody on the other side who could gain from changing a roll.
Provably fair matters once real money is involved. Casinos such as Crypto.Games publish the seeds for every bet so you can check them.