Provably fair: how crypto casinos prove a dice roll wasn't rigged

A colourful pile of dice on a black reflective surface
A colourful pile of dice on a black reflective surface. Photo: Dietmar Rabich, CC BY-SA 4.0, via Wikimedia Commons.

Crypto casinos invented a clever way to let players check every roll: commit to a secret in advance, mix in the player's input and reveal it afterwards. Here is how provably fair works.

The oldest question in gambling is simple: how do I know the game is fair? Crypto casinos answered it with a technique called provably fair, which lets players check every single result for themselves.

The problem

When you play online, the result comes from a random number generator on the casino's server. Licensed casinos have their generators tested by independent labs, but players still have to trust the paperwork. Provably fair adds a way to verify individual rounds using cryptography.

How it works, step by step

  1. The casino commits. Before you play, the casino generates a secret value called the server seed and shows you its hash, a scrambled fingerprint. The hash proves the seed exists without revealing it.
  2. You add your input. You provide, or can change, a client seed. Each bet also has a counter called a nonce.
  3. The result is calculated. The server seed, client seed and nonce are combined with a hash function, and the output is converted into a dice roll, a card or a crash point.
  4. The casino reveals. When you rotate to a new seed pair, the old server seed is revealed. You can hash it yourself and confirm it matches the fingerprint shown at the start, then recalculate every roll.

Because the casino committed to its seed before seeing yours, it could not choose a seed that beats your bets. And because you can recompute the results, you can catch any tampering.

What it proves, and what it doesn't

Provably fair provesIt does not prove
Results were not changed after your betThat the house edge is low
The casino committed to its seed in advanceThat withdrawals will be paid
You can recalculate every roundThat the operator is licensed

Dice through history

People have tried to rig dice for as long as dice have existed. Archaeologists have found loaded dice from the ancient world, weighted so one face comes up more often. Casinos responded with precision dice made to tight tolerances, transparent so any hidden weight shows. Provably fair is the digital version of a transparent die. Curiously, many of the same communities that use it trade meme coins whose contracts are anything but transparent, a contrast we explore in rug pulls and honeypots.

A simple habit

If a game offers provably fair verification, try it once. Copy the seeds, run the check with an independent tool and see the maths line up. It takes a few minutes and teaches you more about online randomness than any marketing page.