How Provably Fair Works

Understanding the cryptographic magic that ensures casino games are fair

The Problem

In traditional online casinos, you have to trust that the casino isn't manipulating game results. But how can you be sure? You can't see the code, you can't verify the randomness, and you have no way to prove if you were cheated.

Traditional casinos: "Trust us, we're fair!" 🤷

The Solution: Provably Fair

Provably fair uses cryptography to create a system where:

  • ✓The casino commits to a result BEFORE you bet
  • ✓You have influence over the outcome
  • ✓You can verify the result wasn't manipulated
  • ✓Everything is mathematically provable

Provably fair casinos: "Don't trust us, verify us!" ✅

How It Works: Step by Step

1

Casino Creates Server Seed

Before you place your bet, the casino generates a random string called the Server Seed.

Server Seed: "a8f3d9e2b1c4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0"

The casino keeps this SECRET but shows you a hash (encrypted fingerprint) of it:

Server Seed Hash: "9f2e8a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2"

This hash is like a locked box - it proves what the seed is without revealing it. The casino CANNOT change the seed now without you knowing.

2

You Choose Client Seed

You can set your own Client Seed to any string you want. This ensures YOU have influence on the outcome.

Client Seed: "my_lucky_seed_123"

The casino can't predict the result because they don't control your seed. You can change it anytime!

3

Game Result is Generated

The casino combines the Server Seed + Client Seed + Nonce (bet number) and runs it through a cryptographic algorithm:

Result = HMAC-SHA256(Server Seed, Client Seed + Nonce)

This generates a number that determines your game result (dice roll, crash point, card dealt, etc.)

Result: 0.4523 → Dice Roll: 45.23
4

Verification Time!

After the bet, the casino reveals the original Server Seed. Now you can verify:

Check 1: Verify the hash matches

SHA256("a8f3d9e2b1c4...") = "9f2e8a3b4c5d..." ✅ Matches!

Check 2: Recalculate the result

HMAC-SHA256("a8f3d9e2b1c4...", "my_lucky_seed_123-1") = 0.4523 ✅ Matches!

✅ PROVABLY FAIR - The casino didn't cheat!

Try It Yourself

Here's a real example you can verify yourself:

Copy these values into our verification tool to see if the casino was honest!

Verify This Bet

Casino-Specific Algorithms

Stake.com

Dice

HMAC-SHA256
const result = hmacSHA256(serverSeed, clientSeed + '-' + nonce)
const diceRoll = (parseInt(result.substring(0, 8), 16) / 0xffffffff) * 100

BC.Game

Crash

SHA-256
const hash = sha256(serverSeed + clientSeed + nonce)
const crashPoint = calculateCrashPoint(hash)

Rollbit

Slots

HMAC-SHA256
const result = hmacSHA256(serverSeed, clientSeed + nonce)
const reelPositions = convertToReelPositions(result)

Why Casinos Can't Cheat

They Committed First

By showing you the hash before the bet, the casino locked in their server seed. They can't change it without the hash being different.

You Control Part of It

Your client seed influences the outcome. The casino can't predict the result because they don't control your seed.

Math is Deterministic

The same inputs always produce the same output. You can verify the calculation yourself or use our tool.

Cryptographically Secure

SHA-256 and HMAC are industry-standard algorithms used by banks and governments. They're mathematically proven to be secure.

Frequently Asked Questions

Can casinos still manipulate results?â–¼

No. Once they show you the hash of the server seed, they're locked in. If they change the seed, the hash won't match and you'll know they cheated.

Do I need to verify every bet?â–¼

Not necessarily. You can spot-check random bets or use our bulk verification tool to check many bets at once. If a casino is cheating, it will show up in the pattern detection.

What if I don't understand the math?â–¼

That's what our tool is for! You don't need to understand the cryptography - just paste your bet details and we'll verify it for you. The math is open-source so anyone can audit our tool.

Are all crypto casinos provably fair?â–¼

No. Only casinos that implement provably fair algorithms can be verified. Most major crypto casinos (Stake, BC.Game, Rollbit, etc.) are provably fair, but always check before playing.

Can I trust your verification tool?â–¼

Yes! Our algorithms are open-source and match exactly what the casinos use. We have no incentive to lie - we're not the casino. Plus, the community can verify our verifications.

Ready to Verify Your Bets?

Use our tool to verify any bet from any provably fair casino

Start Verifying Now
    Built with v0