All Articles

What is Provably Fair Gaming?

A complete guide to understanding how cryptographic verification makes online gambling transparent and trustworthy.

The Simple Definition

Provably fair is a system where a casino proves — using math, not promises — that every game outcome is genuinely random and was not manipulated. Instead of trusting the casino, players can independently verify each result using cryptographic tools. The "provably" part means it is mathematically provable, not just claimed.

How Most Provably Fair Casinos Work: Commit-Reveal

Before you place a bet, the casino generates the game result and creates a cryptographic hash of it (called a "commitment"). This hash is like a sealed envelope — it locks the result in place without revealing it. After you bet and the game plays out, the casino reveals the original data. You can then hash it yourself and check that it matches the commitment. If it matches, the result was predetermined and fair. This is called a commitment-reveal scheme, and it is mathematically impossible for the casino to change the result after committing to it. AlgoRoll does not need a commitment at all, as the next section explains.

SHA-256: The Cryptography Behind It

Many provably fair systems use HMAC-SHA256 to combine a server seed and a client seed into a result. AlgoRoll uses SHA-256 over the seed of the next Algorand block after your bet and your bet details. Nobody, including AlgoRoll, knows the next block's seed when you bet, so nobody can steer the result. SHA-256 is the same algorithm that secures Bitcoin and is considered computationally unbreakable with current technology.

Why Blockchain Makes It Better

A provably fair system on a traditional server still requires you to trust that the commitment was actually made before your bet. Blockchain eliminates this by recording everything on a public, immutable ledger. On AlgoRoll there is no secret server seed at all: your bet is an on-chain transaction, and it is settled by the seed of the next Algorand block, which did not exist when you placed it. This removes the last element of trust from the equation.

How to Verify on AlgoRoll

Open the Verify page on AlgoRoll. It reads the public chain data for any roulette, coin flip, keno or lottery result and recomputes the result in your browser. If the computed result matches the one you got, the round was fair. Every input is on-chain, so you can also check it yourself with any Algorand explorer and a SHA-256 tool.

Frequently Asked Questions

Is provably fair the same as fair?

Provably fair means the fairness can be mathematically proven for every individual game. Traditional "fair" casinos rely on periodic audits that only prove statistical fairness over large samples — not for your specific game.

Can a provably fair casino still have a house edge?

Yes. Provably fair means the randomness is verifiable, not that the odds are 50/50. The house edge is built into the payout structure (e.g., paying 2x on a bet with slightly less than 50% chance). The key difference is that the edge is transparent and the randomness is real.

What if I don't verify — am I still protected?

Yes. Every bet and settlement is recorded on-chain regardless. Anyone can verify any game at any time, even after the fact. The system is transparent whether you personally verify or not.

Verify a Game Result

Related Comparisons

Related Articles