How Provably Fair Works

How Provably Fair Works: Seeds, Hashes and the Order They Run In

How provably fair works, part by part: seeds and nonces, SHA-256 and HMAC, commit and reveal, the full algorithm, and what a verified round cannot prove.

A provably fair round leaves four things behind: a 64-character hash you saw before betting, a 64-character server seed you see afterward, the client seed you used, and the number of your bet. With those four, anyone can rebuild the result. That is how provably fair works in one sentence, and the pages in this section take it apart piece by piece so you know what each piece protects.

The parts are few, but they depend on each other in a strict order. A hash shown after the bet proves nothing. A client seed set before the commitment protects nothing. Most of what goes wrong with provably fair claims is a problem of timing, not of math.

Which parts make up a provably fair round?

Three inputs and two functions. The inputs are the server seed, the game's secret; the client seed, your contribution; and the nonce, a counter that goes up with every bet. The functions are SHA-256, which turns the server seed into a public commitment, and HMAC-SHA256, which mixes all three inputs into the bytes that become a result.

Each part answers one question, and each has its own page.

Page The question it answers Key value from our example
Seeds and nonces What does each input do, and why can I change one? client seed player-17, nonce 1
SHA-256 and HMAC What do the two functions guarantee? 256-bit output, 64 hex characters
Commit and reveal Why must the hash come first? commitment f51376a5…3de0
The algorithm How do the bytes become a result? x ≈ 0.4217, dice 42.17
What it does not prove Where does the proof stop? 1% edge in the crash formula

If you read only one, read the algorithm walkthrough. It follows a single round from seed to dice roll with every intermediate value, and the other pages make more sense once you have seen the full chain once.

What does each piece of cryptography actually do?

SHA-256 does one job here: it lets the game promise a value without showing it. The hash is short and fixed in size, it gives nothing away about the seed, and no one can produce a different seed that hashes to the same string. NIST defines it in FIPS 180-4, and every current browser can compute it through the Web Crypto API, which is how our calculator can run the whole check inside your browser.

HMAC does a different job. It is a keyed hash, defined in RFC 2104 in 1997, and in a provably fair game the server seed is the key. That means only someone who knows the seed can compute the result, which is why you have to wait for the reveal before you can check. It also means the result depends on every character of the client seed and the nonce. The page on SHA-256 and HMAC explains both functions without assuming any background in cryptography.

Neither function produces fairness on its own. Fairness comes from how they are arranged in time.

Why does the order of events matter more than the math?

Because every protection in the scheme is a timing rule. The server commits to its seed before you bet, so it cannot change the seed after seeing your bet. You set your client seed after the commitment, so the server could not have picked its seed to suit your bets. The seed is revealed only when you rotate, so you cannot use it to predict rounds that have not happened yet.

Swap any two of those events and a protection disappears. This is an old idea in cryptography: Manuel Blum described it in 1981 as a way to flip a coin fairly over the telephone between two people who do not trust each other. The page on commit and reveal covers this sequence in detail and what each step in a game's seed panel corresponds to.

It also explains the one rule players most often break without noticing. The commitment only helps you if you saved it before playing. Checking a revealed seed against a hash shown on the same screen tells you little; checking it against a copy you made beforehand tells you a lot.

How do the three inputs work together across many bets?

Under one seed pair, the server seed and client seed stay fixed and only the nonce moves. Bet 1, bet 2 and bet 3 each get their own HMAC message and their own unrelated result. In our example those first three dice rolls are 42.17, 97.15 and 55.88. When you rotate, the old server seed is revealed, a new hash appears, and the nonce starts over.

What looks like a small detail is where most failed checks come from. The nonce has to be exactly right, the client seed has to match to the letter, and the platform's starting count, 0 or 1, has to be followed. The seeds and nonces page covers all of this, including what really changes when you pick a new client seed (only which results you get, never how likely they are).

What should a game's fairness panel show you?

Every part above should have a place on screen. Look for the hashed server seed of the pair you are using now, the client seed with a way to edit it, and a count of bets placed under the current pair, which is your next nonce. There should also be a button or link to rotate to a new pair, and somewhere to find server seeds from earlier pairs once they have been revealed.

Labels differ from game to game. You may see the commitment called the server seed hash, the hashed seed or simply the active seed, and the nonce may appear as a bet number. What matters is that each of the three inputs and the commitment can be found and copied. If one of them has no field at all, the game is asking you to trust the missing piece, and the rest of the proof leans on it.

Where does the proof stop?

A verified round shows that the result came from the committed seeds through the documented math. It does not show that the game's odds are good, that its payouts are fair, or that the site behind it is licensed or pays withdrawals. The house edge sits in the game's rules, and a provably fair game can keep as much as its designer decides.

That gap matters enough to get its own page: what provably fair does not prove. Read it before treating a provably fair label as a recommendation.

Where should you start?

It depends on what brought you here. If you have a round you want to check, go straight to the calculator and come back if the numbers do not match. If you want to understand the mechanism, start with the algorithm walkthrough and follow its links. If you are deciding whether to trust a game at all, start with the limits page, because the most useful thing to know about provably fair is the list of questions it was never designed to answer.

FAQ

01

Do I need to understand cryptography to use provably fair checks?

No. You need to know which values to copy and when, and a calculator does the math. Understanding the parts helps you spot a game that leaves one of them out.
02

Which part of provably fair stops the game from changing a result?

The commitment. The game shows the SHA-256 hash of its server seed before you bet, and any other seed would give a different hash, so a swap after your bet would be visible when the seed is revealed.
03

Which part stops the game from choosing a seed that is bad for me?

Your client seed. The server commits before it knows your client seed, so it cannot test its seed against your bets in advance. The guide to server seeds, client seeds and nonces walks through why.
04

Is provably fair the same on every platform?

The idea is the same, but the recipes differ in message format, hash function, byte reading and game rules. A check only works when it follows the exact recipe the platform documents.
05

Why use SHA-256 for the commitment?

It is a NIST-standardized hash function (FIPS 180-4) with a fixed 256-bit output, and no practical way to reverse it or find two inputs with the same output is known. Those are the two properties a commitment needs.
06

Can I check a round right after I play it?

Only after the server seed for that round is revealed, which happens when you rotate to a new seed pair. Until then you can save the hash, the client seed and the nonce for later.
07

Does a verified round mean the game is a good bet?

No. Verification shows the result came from the committed inputs, while the house edge sits in the payout rules. The page on what it does not prove covers the gap.
08

Where can I try the math on a real example?

Our calculator comes loaded with the site's example round, which rolls 42.17 on dice. You can change any input and watch the result change.