Skip to content
All posts

How provably fair works in our games

A player should not have to trust us. Here is how every round is committed to before it is played, and how anyone can check it afterwards.

“Provably fair” is easy to put on a banner. What it should mean is simple: the player can check every result themselves, without having to trust the casino or us. This is how our games do it.

Commit before the round

Before a round is played, our provably fair service creates a random 32-byte server seed and keeps it secret. What it publishes is the seed’s SHA-256 hash: the commitment.

A hash works in one direction only. From the hash you cannot work out the seed, but once the seed is revealed, anyone can hash it and see whether it matches. So the commitment fixes the seed in advance without giving it away.

Turn the seed into a result

Each result starts as a number between 0 and 1, computed like this:

HMAC-SHA256(server seed, "client seed:nonce")

The client seed is a second random value that belongs to the player’s side, and the nonce counts rounds played with the same seed pair. The first 8 hex characters of the HMAC become a number from 0 to 1, and each game turns that number into its own outcome:

  • Flip Coin: below 0.5 is heads.
  • Plinko: one number per row, below 0.5 goes left.
  • Mines: a batch of numbers places the mines on the grid.
  • Crash: one number per round sets the crash point.

Reveal and verify

When a seed pair is finished (after every bet in most games, after every round in Crash), the server seed is revealed and a new pair is created. In the game’s fairness panel the player can then:

  1. Hash the revealed server seed and compare it with the commitment shown before the round.
  2. Recompute the HMAC with the same client seed and nonce.
  3. Check that it gives the same result they saw.

If any of these fail, the round was not fair, and the player can prove it.

Where it applies today

Crash, Mines, Plinko and Flip Coin show the fairness panel to players. Roulette and Keno draw their results from the same service, but their players can’t see a fairness panel yet. In Mega and Lightning Roulette, the boosted numbers use their own commit and reveal, which we will cover in a separate post.

Your casino brand could be next.

Tell us which model fits you, or what you need built, and we’ll walk you through a live demo casino.

Book a demo