Instant games guide

Provably Fair Dice: How Randomness Is Verified

Provably fair dice lets you check each roll. The casino shows a SHA-256 hash of its secret server seed before you bet, your client seed is combined with it to set the result, and the server seed is revealed afterwards so you can confirm it never changed.

Share
Table of Content 14
  1. Server seed and client seed
  2. SHA-256 and the commitment
  3. What the nonce does in each dice roll
  4. How the roll is produced
  5. From hash to dice number
  6. Check a roll on your phone
  7. Habits that make phone checks easier
  8. What a matching hash proves
  9. Why changing the client seed matters
  10. What provably fair does not mean
  11. Common mistakes when verifying a dice roll
  12. Fair rolls and the cost of playing
  13. Top mobile casinos in our ranking for New Zealand
  14. Provably fair dice: questions and answers

Server seed and client seed

Before each round the server generates a server seed and shows you only its hash. Your device supplies a client seed, which you can often change, and a nonce counts your bets. The server commits to its seed before it sees yours, so 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 produces a completely different hash. After the round the server reveals its seed. If your own hash of that seed matches the one shown before you bet, the seed was fixed in advance.

What the nonce does in each dice roll

The nonce is a counter that rises by one with every bet made under the same pair of seeds. Provably fair dice uses the nonce so that each roll gets its own result even though the seeds stay fixed. Without it, the same server seed and client seed would give the same number on every bet.

The nonce also lets you find one bet later. If a roll looks odd, note its nonce and recalculate that single roll from the seeds. Most seed panels show the nonce beside the hashed server seed, and it usually restarts when the seed pair changes.

How the roll is produced

The game feeds the server seed, the client seed and the nonce into a fixed algorithm, usually HMAC-SHA256, and turns the output into a number from 0 to 100. The same inputs always give the same roll, so anyone holding the seeds can recalculate it.

From hash to dice number

Provably fair dice turns a hash into a roll with a few fixed steps. The game runs HMAC-SHA256 over the client seed and nonce, with the server seed as the key, although the exact input order differs between games. The output is a long hexadecimal string.

The game reads the first few characters of that string, converts them to a whole number and scales it into the 0 to 100 range. Every step is fixed, so a verifier that follows the same recipe reaches the same roll. If you use a different recipe from the game, your number will not match even when the game is honest, so read the formula the game publishes before you compare.

Check a roll on your phone

  1. Find the seed panel Open the fairness or seed panel in the game and note the hashed server seed, your client seed and the nonce.
  2. Rotate the seed Change your client seed or rotate the seed, which reveals the previous server seed.
  3. Hash the revealed seed Paste the revealed server seed into any SHA-256 tool and compare the result with the hash you saw before the bet.
  4. Recalculate the roll Enter the seeds and nonce into the game's verifier, or any independent verifier, and confirm the roll matches.

Habits that make phone checks easier

A phone makes the check quick if you prepare before the session. Take a screenshot of the hashed server seed, your client seed and the starting nonce before your first bet. That screenshot is your record of what the casino committed to, and it stays valid even if the page later changes.

Paste a seed into a SHA-256 tool only after it has been revealed. An active server seed is not shown in full, so a seed you can read is already a finished one. Keep the verifier in a separate browser tab so you can switch back to the game without losing your place.

What a matching hash proves

A matching hash proves that the server seed was fixed before your bet. A matching recalculation proves that the roll came from the seeds in the way the game describes. Neither check says anything about the payout multiplier or the house edge. Our guide to how to play dice explains how the target number and the multiplier relate, which is the part the seed check leaves out.

Provably fair dice also depends on someone checking. The guarantee is only as strong as the rolls that players actually verify, so spot checks after each session are worth the minute they take.

Why changing the client seed matters

The client seed is the player's share of the randomness. Changing it before a session means the server could not have prepared results around a seed it had already seen. The server seed stays hidden until you rotate, because showing it earlier would let you predict upcoming rolls.

Rotating the seed is therefore the moment the whole session becomes checkable. Do it when you finish playing, then verify a few bets from the start, the middle and the end of that session.

What provably fair does not mean

Provably fair proves the roll was not manipulated. It does not make the game favourable. Dice still carries a house edge, and the check changes nothing about it. The same method appears in crash games, Plinko, Mines and Limbo, so the verification steps look much the same across those titles too.

Common mistakes when verifying a dice roll

Most failed checks come from small slips rather than a dishonest game. Players compare the wrong seed pair, rotate mid session and lose the earlier hash, or copy a seed with a trailing space. Each of these produces a mismatch that looks serious but is only a copying error.

Another mistake is trusting a single verifier without understanding it. Mines uses the same seed approach, and our look at whether Mines games are really provably fair shows how the check changes when a game uses more than one result per round. Use the game's own verifier and one independent tool, and treat a disagreement between them as a reason to look closer.

Fair rolls and the cost of playing

Provably fair dice removes doubt about manipulation, but the game still costs money to play over time. The house edge is built into the payout multiplier, so a perfectly fair roll can still lose. Seed checks and return rates answer different questions.

Before choosing a game, it helps to compare return rates as well as fairness features. The page on highest RTP mobile casino games covers the return side, and responsible play means setting a budget before you start, whatever the verification tools show.

Top mobile casinos in our ranking for New Zealand

  1. Bonus
    $2,000 + 400 FS
    Wagering
    –
    You must wager
    –
    Expected value
    –
    Visit Casino 18+ · T&Cs Apply · Play Responsibly
  2. Bonus
    600 NZD + 500 FS
    Wagering
    40x
    You must wager
    $24,000
    Expected value
    −$360
    Visit Casino 18+ · T&Cs Apply · Play Responsibly
  3. Bonus
    $2,000 + 400 FS
    Wagering
    30x
    You must wager
    $60,000
    Expected value
    −$400
    Visit Casino 18+ · T&Cs Apply · Play Responsibly
  4. Lucky Nugget review
    Bonus
    1 NZD + 40 FS
    Wagering
    70x
    You must wager
    $70
    Expected value
    −$2
    Visit Casino 18+ · T&Cs Apply · Play Responsibly
  5. Bonus
    750 NZD
    Wagering
    70x
    You must wager
    $52,500
    Expected value
    −$1,350
    Visit Casino 18+ · T&Cs Apply · Play Responsibly

Provably fair dice: questions and answers

What is a provably fair dice game?

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

Can I verify every roll?

Yes, once the server seed is revealed. Most games reveal it when you rotate the seed.

Is provably fair only used in dice?

No. Crash games, Plinko, Mines, Limbo and many other instant games use the same method.

Does provably fair mean I will win?

No. It shows the result was not changed, but the house edge still applies.

Why would I change my client seed?

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

Do I need an app to check a roll?

No. A phone browser can run a SHA-256 tool and most games link to their own verifier.

What is a nonce in provably fair dice?

The nonce is a counter that goes up by one with each bet made under the same seed pair. It gives every roll its own result while the seeds stay fixed. It also lets you point to one bet and recalculate it later.

What should I do if the hash does not match?

First check that you hashed the right revealed seed and copied it without extra spaces. A hash mismatch on a correctly copied seed means the seed changed after the commitment, so stop playing that game and keep screenshots of the hash and seed. A guide such as our dice strategies for beginners assumes the game is verifiable, so confirm that first.

Does a provably fair game mean the casino is safe?

No. The seed system covers only how each roll is produced. It says nothing about licensing, withdrawal handling or the terms of a bonus, which you need to check separately.

How often should I rotate my seed?

There is no fixed rule. Rotating after a session lets you verify every bet from that session at once, because the old server seed is revealed when you rotate.