← Back to Blog

Provably Fair Gambling: How It Works and Why It Matters

Provably fair is the single most important innovation in online gambling. It uses cryptography to mathematically prove that a casino cannot cheat. Here is exactly how it works.

The Trust Problem

Traditional online casinos ask you to trust them. Trust that their random number generator is fair. Trust that they are not manipulating results. Trust that the house edge is what they claim. You have zero way to verify any of this.

Provably fair eliminates trust entirely. You can verify every single bet yourself using mathematics.

How Provably Fair Works (Step by Step)

Step 1 — Server Seed Commitment: Before you bet, the casino generates a random server seed and shows you its SHA-256 hash. This hash is a one-way cryptographic fingerprint — it proves the seed exists without revealing it.

Step 2 — Client Seed: You provide (or the system generates) a client seed. This is your input into the randomness. The casino cannot predict your seed in advance.

Step 3 — Nonce: A bet counter (nonce) increments with each bet, ensuring every result is unique even with the same seeds.

Step 4 — Result Generation: The game result is calculated by combining: Server Seed + Client Seed + Nonce through a cryptographic hash function (usually HMAC-SHA256). This produces a deterministic but unpredictable result.

Step 5 — Verification: After the game, the server seed is revealed. You can now hash it yourself and confirm it matches the hash shown in Step 1. Then recalculate the game result using the revealed server seed + your client seed + nonce. If your calculation matches the game result, the casino played fair.

Why This Cannot Be Cheated

The server commits to its seed BEFORE you bet (via the hash). It cannot change the seed after seeing your bet without the hash changing. And you contribute randomness through your client seed, which the server cannot predict. Neither party can manipulate the outcome alone.

Spunk.Bet: Fully Provably Fair

Spunk.Bet implements provably fair across all 10 games. Every bet shows the server seed hash before you play, reveals the full seed after, and provides a verification tool to check any result. The code is transparent — you do not need to trust anyone.

This is what Fast. Fair. Free. actually means. Not a marketing slogan — a mathematical guarantee.

Play Free on Spunk.Bet →