Home/Lucky Paws

Provably Fair, Step by Step: Seeds, Hashes and Nonces

· Lucky Paws · by the ROCKY on SOL desk

Provably fair games let you check a result was not changed after you bet. Seeds, nonces and hashes explained, plus what the proof cannot cover.

A handful of white dice with black pips falling against a black background
A handful of white dice with black pips falling against a black background. Photo: Dietmar Rabich, CC BY-SA 4.0, via Wikimedia Commons.

"Provably fair" is a badge on almost every crypto casino. Unlike most badges, it describes something you can actually test yourself. Here is how it works, in plain language, and where its promise stops.

The problem it solves

In an online game, the casino's server picks the result. How do you know it did not peek at your bet first and choose a losing number? Provably fair systems answer with a commitment: the casino locks in its secret before you play, in a way it cannot change later.

The ingredients

  • Server seed – a secret random value chosen by the casino.
  • Server seed hash – a one-way fingerprint of that secret, usually made with SHA-256, shown to you before you bet.
  • Client seed – a value you can choose or change, so the casino cannot predict the final input.
  • Nonce – a counter that goes up by one with each bet.

How a result is made

  1. The casino shows you the hash of its server seed.
  2. You set a client seed (or accept a random one) and place bets.
  3. For each bet, the game combines server seed, client seed and nonce, typically with an HMAC-SHA256 function, and turns the output into a dice roll, card or multiplier.
  4. When you rotate to a new seed pair, the casino reveals the old server seed.
  5. You hash the revealed seed and check it matches the fingerprint you were shown. Then you recompute each result yourself.

What the proof shows

That results were fixed by inputs locked in before your bets and were not altered afterwards. If the revealed seed does not match the earlier hash, the casino changed it.

What it does not show

Provably fair does not mean favourable. The formula that turns hashes into results also encodes the house edge. A dice game where a roll under 49.5 pays double is perfectly provable and still tilted towards the house. You also have to trust that the verification code you use is correct, which is why independent verifier scripts exist.

ClaimProvably fair covers it?
The result was not changed after my betYes
The game has no house edgeNo
The casino will pay my withdrawalNo
The site is licensedNo

Compare that with a meme-coin page that says "Authority Revoked": also a real, checkable claim, and also much narrower than it first sounds.

Quick answers