FakeStakeFakeStake
BASICS

Provably Fair Explained: Seeds, Hashes and Nonces

8 min

Diagram of server seed, client seed and nonce combining into a provably fair game result

What is provably fair?

Provably fair is a method that lets a player check, with maths instead of trust, that an online game result was fixed before the bet and was not changed afterwards. It is most common on crypto casino originals such as Dice, Crash, Mines, Plinko and Limbo.

The system is built from three values: a server seed, a client seed and a nonce. This guide explains what each one does, how a result is derived from them, how to verify a bet with a provably fair verifier, and where the guarantee stops.

The problem it solves

At a physical table you can watch the cards being dealt or the ball landing. Online, the result comes from a server you cannot see. In principle the operator could look at your bet first and then choose an outcome.

Provably fair closes that gap with an idea from cryptography called commit and reveal.

Picture a sealed envelope. Before the game, the casino writes down its secret, seals it and puts the envelope on the table. You cannot read it, but you can see it has not been swapped. After the game, the envelope is opened and you check that the secret inside produces the results you were shown.

Online, the envelope is a hash. A hash function turns any input into a fixed-length string of characters. It has three properties that matter here:

  • The same input always gives the same output.
  • A tiny change in the input gives a completely different output.
  • It is not practical to work backwards from the output to the input.

So when a casino shows you the hash of its secret before you bet, it has committed to that secret. It cannot change it later without the hash no longer matching.

Server seed, client seed and nonce

  • Server seed. A secret random value created by the casino. You are shown only its hash before you play. The plain value stays hidden while it is in use.
  • Client seed. A value from your side, usually generated by your browser. You can see it and replace it with anything you like.
  • Nonce. A counter that rises by one with each bet made on the current seed pair.

Each ingredient has a job.

The server seed keeps results unpredictable to you. If you knew it, you could calculate every outcome in advance.

The client seed keeps results unpredictable to the casino. If the operator chose every input, it could search for a server seed that favoured itself. Because your seed is mixed in, and you can change it after the commitment has been made, the casino cannot know the final results when it commits.

The nonce makes each bet different. Without it, the same two seeds would give the same result every round.

How a result number is derived

The exact recipe differs from site to site and game to game, and each site documents its own. The general pattern looks like this.

  • Combine. The server seed, client seed and nonce are fed into a function called HMAC-SHA256. It outputs a long string of bytes that looks random and is fully determined by the three inputs.
  • Convert. A few of those bytes are taken and turned into a number, typically a decimal between 0 and 1.
  • Scale. That number is stretched to fit the game. For a dice game it becomes a roll within the game's range. For a crash game it is run through a formula that produces the bust multiplier. For a game like Mines, several numbers are drawn and used to place the mines on the grid.

The house edge is applied in the scaling step or in the payout table. The random number itself is neutral. The margin comes from how results are priced.

Anyone with the three inputs can repeat these steps and will get the same answer every time. That repeatability is the whole point.

Walk-through: verifying one bet

Here is what checking a single dice bet looks like in practice. The screens vary by site, but the steps are the same.

  • Before playing, open the fairness panel. Copy the hashed server seed and your client seed somewhere safe. Change the client seed first if you want to use your own.
  • Place the bet. Say it is the fifth bet on this seed pair. Note the nonce the site records for it and the result you were shown.
  • Keep playing if you like. The nonce counts up with each bet.
  • Rotate the seeds. The site retires the current server seed and reveals it in plain form.
  • Check the commitment. Run the revealed server seed through SHA-256. The output must match, character for character, the hash you copied in step one. If it does, the seed was not swapped.
  • Recompute the bet. Enter the revealed server seed, your client seed and the nonce into a verifier and select the game. The roll it produces must equal the roll you saw.

If both checks pass, that bet was determined by values fixed before you placed it. If either fails, something is wrong and it is worth asking the operator to explain.

Using a provably fair verifier or calculator

A provably fair verifier, sometimes called a provably fair calculator, is a page that performs the recompute step for you. You paste in the server seed, client seed and nonce, choose the game, and it shows the result.

Most sites that offer provably fair games host their own verifier. Independent ones exist too, and using one that the casino does not control is a stronger check.

Three practical points:

  • A verifier only works on a revealed server seed. It cannot do anything with a hash.
  • Use the verifier that matches the site and the game. Different sites turn bytes into results in different ways.
  • You do not need to check every bet. The fact that any bet can be checked is what keeps the system honest.

How to rotate seeds

Rotating means retiring the current seed pair and starting a new one. Sites usually put the control in a fairness or settings menu.

When you rotate:

  • The old server seed is revealed, so past bets become verifiable.
  • A new server seed is created and its hash is shown to you.
  • You can set a new client seed.
  • The nonce starts counting again.

A sensible habit is to set your own client seed at the start of a session and rotate at the end so you can verify what you played. Rotating does not change your odds. It does not reset a bad run or bring a good one closer. Rounds are independent whichever seeds are in use.

What provably fair proves and what it does not

It proves one thing well: the outcome of a bet came from values committed to in advance and was not altered after you wagered.

It does not prove any of the following.

  • That the game is cheap to play. The house edge is untouched. An honest result is still paid at less than true odds. A provably fair game with a 1% edge keeps about 1% of everything wagered over time.
  • That every game on the site is covered. Slots and live games from outside providers do not use this system. They rely on certified random number generators instead.
  • That the operator is trustworthy elsewhere. It says nothing about withdrawals, limits or licensing.
  • That results can be predicted. Verification works backwards, on bets already made. It gives no view of the next round.

Predictor scams

Search for provably fair tools and you will find apps, bots and browser extensions that claim to predict the next Mines board or Crash multiplier, often by asking for a server seed hash.

They cannot work. The hash is a one-way fingerprint, and the real server seed is secret until it has been retired. Nothing useful can be calculated from the hash alone. Past results do not help either, because each round is independent.

What these tools actually do is charge for a download, harvest account details, or push sign-ups through someone's referral link. Our guide to the Stake Mines predictor claims looks at this in detail. No staking pattern and no software changes the edge.

Provably fair and fake money play

On a free game there is nothing to lose, so verification is not the concern it is with real money. Fake Stake games use random results for entertainment, with virtual coins, no deposit, no account and no cash-out. The site is independent and not affiliated with any casino.

What fake money does offer is a safe view of the odds themselves. You can see how often a 2x cashout lands on Fake Stake Crash, how often a board ends early on Fake Stake Mines, or how a long run of flat bets drifts on Fake Stake Dice. That is the part provably fair does not tell you.

The short version

Provably fair is a real and useful guarantee. The casino commits to a hashed server seed, you add a client seed, a nonce counts the bets, and afterwards anyone can recompute the results. It is a statement about honesty, not about your chances.

If you play for real money, which is for adults aged 18 and over only, use the check and still expect the edge to do its work. If you only want to understand the games, fake money is enough.

Frequently asked questions

What does provably fair mean?

It means each game result is generated from values that are fixed before the bet and can be checked afterwards. The casino cannot alter an outcome after seeing your wager without the check failing.

How do I verify a provably fair bet?

Note the hashed server seed and your client seed before playing, then rotate seeds so the old server seed is revealed. Hash the revealed seed to confirm it matches, then recompute the round from the server seed, client seed and nonce in a verifier.

What is a nonce in provably fair games?

A counter that goes up by one with every bet. It makes the same pair of seeds produce a different result each round.

Can a provably fair game be predicted?

No. The server seed stays secret until you rotate it, and its hash cannot be reversed. Tools that claim to predict the next round are scams.

Does provably fair mean the game has no house edge?

No. It shows that results were not tampered with. The house edge is still built into the payouts, so the game keeps its margin over time.

Try it free - no account needed

Start with 10,000 virtual coins. No deposit, no risk.

Play Now

Read next

Demo only - all games use virtual currency. No real money, no withdrawals, no prizes. Gambling with real money can be addictive; if you need support visit ncpgambling.org or call 1-800-GAMBLER. 18+ only.