Instant games guide

Provably Fair Dice: How Randomness Is Verified

Provably fair dice lets you check every roll. The casino commits to a secret server seed by showing its SHA-256 hash before you bet; your client seed is combined with it to produce the roll; afterwards the server seed is revealed so you can confirm nothing changed.

Share
Table of Content 20
  1. Server seed and client seed
  2. SHA-256 and the commitment
  3. How the roll is produced
  4. Check a roll on your phone
  5. What provably fair does not mean
  6. Nonce and seed rotation
  7. What a matching hash proves
  8. From hash to roll number
  9. Common mistakes when verifying
  10. Verifying on a phone
  11. Verification and dice strategy
  12. Provably fair dice and the law in India
  13. Why the commit-and-reveal order matters
  14. Choosing your own client seed
  15. Using an independent verifier
  16. Warning signs of a weak fairness setup
  17. Carrying the method to other instant games
  18. Where verification fits in mobile play
  19. Top mobile casinos in our ranking for India
  20. Provably fair dice: FAQ

Server seed and client seed

Before a round the server generates a server seed and shows you only its hash. You supply a client seed (or the game picks one you can change), and a nonce counts your bets. Because the server committed to its seed before seeing yours, neither side can steer the result alone.

SHA-256 and the commitment

SHA-256 is a one-way function: anyone can hash a seed, but nobody can work back from the hash to the seed, and changing one character changes the whole hash. When the server reveals its seed after the round, you hash it yourself. If your hash matches the one shown before the bet, the seed was fixed in advance.

How the roll is produced

The game feeds the server seed, client seed and nonce into a fixed algorithm (usually an HMAC-SHA256) and turns the output into a number from 0 to 100. Same inputs, same roll, every time, so you can recompute it with the game's verifier or any independent tool.

Check a roll on your phone

  1. Open the fairness or seed panel in the game.
  2. Note the hashed server seed, your client seed and the nonce.
  3. After rotating the seed, copy the revealed server seed.
  4. Hash it with a SHA-256 tool and compare it with the earlier hash.
  5. Paste the seeds and nonce into a verifier and confirm the roll.

What provably fair does not mean

A fair game still has a house edge, usually about 1% in dice. Provably fair proves the roll was not manipulated; it does not make the game favourable. The same method is used in Plinko and Limbo. For the basics of each instant game, start with the dice guide.

Nonce and seed rotation

The nonce is a counter that starts at zero and rises by one with every bet placed under the same seed pair. Each bet therefore has its own input, even when the server seed and client seed stay identical. Mines uses the same counter, and the Mines fairness guide shows how it is checked there. Rotating the seed pair resets the nonce to zero.

Rotation is also the moment the old server seed is revealed. A long session is best verified in batches: play, rotate, then check every bet from that batch against the revealed seed. Keep a note of the nonce range for each batch so that you know which bets the revealed seed covers.

What a matching hash proves

A matching hash proves that the server seed was fixed before your bet. It does not prove that the game's payout table is generous. The paytable and the house edge are published separately, and you should read them before you stake anything.

The hash also says nothing about the casino's licence, its withdrawal speed or its bonus terms. Those are separate questions that a verified roll cannot answer. A verified roll only settles whether one result was produced honestly.

From hash to roll number

HMAC-SHA256 returns a long string of hexadecimal characters, and the game converts part of it into the roll. A common approach is to read the first few bytes, turn them into a fraction between 0 and 1 and scale that fraction to the roll range. Casinos differ in how many bytes they read and how they round, so the verifier you use must follow the same formula as the game.

This is why the same seeds can give different rolls on two different casinos. Always use the verifier published by the casino whose bet you are checking, or an independent tool that documents the same formula. If the two disagree, ask the casino's support team to explain the formula in writing.

Common mistakes when verifying

Most failed checks come from small input errors rather than from a rigged game. Copying a seed with a trailing space, mixing up the client seed and the server seed, or using the wrong nonce will all produce a different roll. Check these three inputs first.

  • Verify only after the seed has been rotated, because the active server seed stays hidden.
  • Use the nonce shown for the specific bet, not the current counter.
  • Compare the hash character by character, or paste both into one tool.

If the inputs are correct and the roll still differs, take screenshots of the seed panel and contact support. That record is your evidence if you need to escalate a dispute.

Verifying on a phone

Verification works on a phone, but a second browser tab makes it easier. Keep the game in one tab and the verifier in another, so that you can copy the seeds without leaving the round. Use the copy button in the seed panel rather than retyping long strings by hand.

Avoid public Wi-Fi if you must log in to the casino to reach the panel. Switch to mobile data first. Close the verifier tab afterwards so that revealed seeds are not left on screen.

Verification and dice strategy

Verification does not create an edge for the player. Each roll is independent, so a streak of losses does not make a win more likely on the next one. Our beginner dice strategies guide explains how to size stakes and set limits around that fact. Treat any system that promises to beat provably fair dice with suspicion.

Changing the client seed does not change the odds either. It only changes which number the combined seeds produce next, and the long-run return stays with the house edge.

Provably fair dice and the law in India

Provably fair technology is a fairness check, not a licence. Online casino play in India is governed by the Promotion and Regulation of Online Gaming Act, 2025 (Act No. 32 of 2025). The knowledge base lists the legal status of online casinos in India as Prohibited. Its licensing model is listed as Prohibited.

A verifiable roll therefore does not make a game legal or safe to play. Read the rules for your state, set a budget before you start and use the casino's limit tools. For how the different formats compare, see instant game types.

Why the commit-and-reveal order matters

Provably fair dice depends on the order of events more than on any single piece of maths. The casino must publish the hash of its server seed before you place the first bet, because a hash shown afterwards proves nothing. Provably fair dice therefore treats the pre-bet hash as a sealed envelope that the casino cannot reopen.

If a casino shows you the hash only after the bet, or lets you change the client seed mid-round without rotating, the commitment is weak. A sound design locks the server seed first, accepts your client seed second and only then counts the nonce upward. Look for that order in the seed panel before you rely on any check.

Choosing your own client seed

Most casinos fill in a random client seed for you, and that default is fine for casual play. Setting your own seed is a small step that removes any doubt about who chose the input. Use a phrase you will not reuse elsewhere, and avoid anything personal such as a name or phone number, since the seed may appear in screenshots and support tickets.

Changing the client seed does not need a new server seed in every design, but many casinos rotate both together. Check the panel after a change to see whether the hash and the nonce reset. Write the new values down before you keep playing so that the record stays clear.

Using an independent verifier

An independent verifier is a tool you did not receive from the casino. Many are open-source scripts or web pages that let you paste the server seed, client seed and nonce and read back the roll. The value of such a tool is that the casino cannot quietly change its output.

Before you trust one, confirm that it documents the same formula as the game, including how many bytes it reads and how it scales them. A verifier that is correct for one operator can be wrong for another. If the formula is not documented, treat the result as unconfirmed and use the casino's own verifier alongside it.

Warning signs of a weak fairness setup

Some casinos use the words provably fair without offering the full set of checks. Treat the claim with caution when any of these are missing.

  • No hashed server seed is shown before the bet.
  • The server seed is never revealed, even after rotation.
  • The formula that turns the seeds into a roll is not published.
  • The nonce is hidden or does not rise by one per bet.

One missing item does not prove cheating, but it means you cannot complete the check yourself. In that case, play small or choose a casino that publishes the whole process.

Carrying the method to other instant games

The seed, hash and nonce method is not limited to dice. Card-style games use it to order a deck, and our guide to how HiLo works shows where the same inputs decide each card. The checking steps stay the same, while the formula that turns the output into a result changes from game to game.

For a comparison of two formats that share this method, read Plinko versus Limbo. It explains why the verification is identical even though the risk profile differs. Provably fair proves honesty of the result, not the size of the payout.

Where verification fits in mobile play

Instant games load quickly on a phone, which makes it easy to place many bets in a short time. That speed is a reason to verify in batches rather than bet by bet. Our list of the best instant games for mobile players covers which formats suit a small screen.

Provably fair instant games also differ from arcade-style games, where results depend on skill rather than a seeded draw. The guide to instant games versus arcade games explains that split. Only seeded games can be checked with the method on this page.

Top mobile casinos in our ranking for India

  1. 1xBet review
    Bonus
    150,000 INR
    Wagering
    25x
    You must wager
    ₹37,52,160
    Expected value
    +₹58
    Visit Casino 18+ · T&Cs Apply · Play Responsibly
  2. SpinBetter review
    Bonus
    115,000 INR + 150 FS
    Wagering
    –
    You must wager
    –
    Expected value
    –
    Visit Casino 18+ · T&Cs Apply · Play Responsibly
  3. Dafabet review
    Bonus
    20,000 INR
    Wagering
    15x
    You must wager
    ₹3,00,000
    Expected value
    +₹8,000
    Visit Casino 18+ · T&Cs Apply · Play Responsibly
  4. Parimatch review
    Bonus
    105,000 INR + 150 FS
    Wagering
    30x
    You must wager
    ₹31,50,000
    Expected value
    −₹21,000
    Visit Casino 18+ · T&Cs Apply · Play Responsibly
  5. Mostbet review
    Bonus
    58,000 INR + 345 FS
    Wagering
    40x
    You must wager
    ₹23,20,000
    Expected value
    −₹34,800
    Visit Casino 18+ · T&Cs Apply · Play Responsibly

Provably fair dice: FAQ

What is a provably fair dice game?

A dice game where every roll can be checked with the seeds and hash the casino publishes.

Can I verify every roll?

Yes, once the server seed is revealed, usually when you rotate it.

Is provably fair only used in dice?

No. Crash, Plinko, Mines, Limbo and many instant games use it too.

Does provably fair mean I will win?

No. It proves the result was not changed; the house edge still applies.

Why change my client seed?

It is optional. Changing it shows the server cannot have planned results around your seed.

How is the nonce used in provably fair dice?

The nonce counts the bets made under one seed pair. It starts at zero and rises by one each bet, so every roll uses a different input.

Why does my roll not match the verifier?

Check the seeds, nonce and formula first. A trailing space, the wrong nonce or a verifier built for another casino's formula are the usual causes.

Are coin flip games verified the same way?

Yes. Coin flip games use the same seed method. Our coin flip strategy truth guide explains why verification gives no edge.

How often should I rotate my seeds?

There is no fixed rule. Rotate when you want to verify a batch of bets, since rotation reveals the old server seed.

Can a casino fake a provably fair check?

It can if the verifier is built into the casino itself and you trust it blindly. Hash the revealed seed with an independent SHA-256 tool, and recompute the roll with a verifier you did not get from the casino, so that the check does not depend on the operator's own code.

Does provably fair work the same on mobile browsers?

Yes. The seed panel and the verifier run in the browser, so the method is identical on a phone. The only difference is that copying long strings between tabs takes a little more care on a small screen.

Is a provably fair game safer than a normal casino game?

It is more transparent about the roll, but it is not automatically safer. Safety also depends on how the operator handles your money, your identity checks and its dispute process, none of which a seed check can confirm.

Do I need to understand cryptography to verify a roll?

No. You only need to copy three inputs, the server seed, the client seed and the nonce, into a verifier and compare the output with the roll you saw. The maths runs inside the tool.