Online games of chance have always had a trust problem. When a result comes from the operator's computer, how do you know it was not changed after you placed your bet? Provably fair is the answer crypto casinos adopted: a system that lets you check every single result yourself, with nothing more than the published data and a standard hash function.
This guide explains how it works in plain terms, walks through a worked example with real numbers, and is clear about what provably fair does and does not prove.
The problem provably fair solves
In a physical casino you can watch the dice roll or the cards come out of the shoe. Online, the result is a number generated on a server you cannot see. A dishonest operator could, in principle, pick a losing result after seeing your bet. Provably fair removes that possibility by locking in the random data before the round starts, in a way that cannot be changed later without being caught.
The ingredients: server seed, client seed and nonce
Server seed. A long random secret created by the game before the round. It is kept hidden while you play.
Commitment. The game publishes a hash of the server seed before you play. A hash is a one-way fingerprint: it is easy to compute from the seed, practically impossible to reverse, and any change to the seed produces a completely different hash.
Client seed. A value from your side, which you can usually change. Because it is mixed in, the server cannot pre-compute results for you in advance.
Nonce. A counter that changes from bet to bet, so the same pair of seeds produces a fresh result each time.
Once the server seed is retired, it is revealed. You hash it yourself and check that it matches the commitment you were shown before playing. If it matches, the seed was fixed in advance. Then you recompute the result from the seeds and nonce and check that it matches what happened.
How a result is generated
Most provably fair games use HMAC-SHA256, a standard keyed hash function available in every programming language and in free online tools. On oncrosser, every road of a round is built like this:
Message = client seed : nonce : road : purpose : attempt
Digest = HMAC-SHA256 of the message, keyed with the server seed
Stream = the first 8 bytes of the digest seed a random number stream (splitmix64)
Each road has three purposes. Blocked is drawn first and decides, with the exact published chance for that strip, whether the road has a way through at all. Traffic is drawn attempt by attempt until the cars, logs and trains agree with that decision. Lane1 draws the lane you see during the cash-out window. Nothing from your play enters any draw.
A worked example you can check
These are example values, not a real round. Suppose the hidden server seed is:
9f2c4e81b7a3d6f0e5c2a1b8d4f7e3c6a9b2d5e8f1c4a7b0d3e6f9c2a5b8e1d4
Before play, the game would show you its SHA-256 hash, the commitment:
6a721d0312220845aeebcbff744740890b576ce637e4270acf7114edc294d033
Your client seed is my-lucky-seed and the nonce is 7. Road numbers in the message start at 0, so the road to strip 1 is road 0. For the blocked draw of the first three roads:
Strip | Message hashed | First 8 bytes | Draw (0 to 20) |
|---|---|---|---|
1 | my-lucky-seed:7:0:blocked:0 | 60f3dcae1906fab7 | 7 |
2 | my-lucky-seed:7:1:blocked:0 | 0fac702c484c077d | 5 |
3 | my-lucky-seed:7:2:blocked:0 | 2da5e5990d42bff0 | 1 |
On strips 1 to 5 the published chance of a road with no way through is 1 in 21, about 4.76 percent. The first number from each stream is reduced to a whole number from 0 to 20, and only 0 means the road has no way through. All three draws are above 0, so all three roads can be crossed. You can reproduce every hash in this table with any HMAC-SHA256 tool, which is the whole point: the result is arithmetic, not a claim.
Where your timing fits in
On oncrosser the draw is only half the story. The seeds decide whether a road has a way through and where every car, log and train is. Your hops decide whether you find that way through: a hop into a lane a moment too early, a misjudged log, or waiting too long while the chaser comes up behind you ends the round. Had a draw above come out at 0, no timing could cross that road. The random part is provably fair, and the part that is not random is your own timing, which is what makes the game skill gambling rather than pure chance.
What provably fair proves, and what it does not
It proves:
The random data was fixed before the round started.
The result you got is the one the published formula produces from that data.
It does not prove:
That the odds are generous. A provably fair game can still carry a large house edge, so read the published ladder or RTP separately.
That payouts and withdrawals will be honoured. That depends on the operator.
That you will win. A fair game can still end in a loss, and usually does in the short run.
Why provably fair predictors cannot work
Predictor apps and bots claim they can calculate the next result. They cannot. The next result depends on a server seed that is secret until it is retired, and HMAC-SHA256 cannot be reversed or predicted from past results. On oncrosser the seed never leaves the server during the round, and while the cash-out window is open your own device holds only the first lane of the next road. Some predictors are simple scams that ask for a fee or a deposit, and some are built to steal account logins. If a tool claims to see the future of a provably fair game, it is lying about one of the two.
Provably fair on oncrosser
On oncrosser you always have an active server seed and a pre-drawn next one, each shown as a SHA-256 hash before any bet uses it. Every round mixes in your client seed, which you can set yourself, and the next nonce on that pair, and each road is derived with the formula above. The server seed is revealed when you rotate your seed pair in the game's fairness settings, and from then on every round played on it can be checked, from your transactions page or the fairness verifier. The step-by-step process is in how to verify a completed round.
Common questions about provably fair
Is provably fair real?
Yes. It is a standard commit-and-reveal technique built on cryptographic hashes. It is real in what it proves: that a result was fixed in advance and computed as published. It does not say anything about how generous the odds are.
Can provably fair be hacked or predicted?
Not by working out future results. The server seed is secret until it is revealed, and the hash cannot be reversed. The realistic risks are elsewhere: scam predictor apps and compromised accounts.
What is a nonce in provably fair?
A counter that changes for every bet or round, so the same server seed and client seed produce a different result each time.
Why should I change my client seed?
Your client seed means the server cannot prepare results for you before you choose it. Changing it is a simple way to be sure your results depend on something you chose.
Is every crypto casino provably fair?
No. Many crypto casino originals are, but slots and live games from third-party studios usually use certified random number generators instead. Check whether the game you are playing publishes seeds.
Playing responsibly
Provably fair tells you the game is straight. It does not tell you to stake more. Set a budget before you play, and use the limits, cooldowns and self-exclusion controls if a session stops being entertainment. If gambling stops being fun, free and confidential support is available from organisations such as BeGambleAware and the National Council on Problem Gambling.
