Provably Fair, Explained for Normal People: How to Verify a Spin Was Not Rigged
A provably fair draw publishes a fingerprint of its secret before the spin and the secret itself after, so anyone can recompute the winner. You do not need to trust the site, and you do not need a maths degree to check it.
- "Provably fair" means the draw leaves behind evidence a stranger can check, instead of a promise you have to believe.
- The method is commit–reveal: hash a secret seed, publish the hash before the draw, draw, then reveal the seed.
- A SHA-256 hash cannot be worked backwards, and changing one character of the input changes the whole output, so the seed cannot be swapped after the fact.
- On Wheel Spin Pro every provably fair draw produces a receipt; paste it at /verify and the maths is redone in your browser in seconds.
- It does not prove the entry list was honest or that this was the only spin. Publish the list, spin live and record the screen to close those gaps.
Every random draw has the same awkward moment. The wheel stops, a name comes up, and somebody thinks: was that really random? A teacher picking who presents first, a streamer giving away a key, a PTA drawing the prize at the school fair, a team lead choosing who is on call over the holidays: all of them ask people to accept an outcome they cannot check, and the only answer on offer is "trust me".
Provably fair is the fix. It comes from a corner of the internet most of these people will never visit, which is why it usually gets explained in jargon. This article uses classroom and giveaway words, shows exactly what Wheel Spin Pro does under the hood, and is honest about what the technique cannot prove.
What does "provably fair" mean in one sentence?
A draw is provably fair when the person who ran it cannot have chosen the result, and anyone can confirm that for themselves using only public information and ordinary maths. Chainlink's technical guide puts it as "an algorithmic process that allows users to verify the fairness of a randomized outcome in real time" [1]. The key word in both versions is verify. A fair draw and a provably fair draw can produce identical winners. The difference is what happens when someone asks "prove it".
Notice what the phrase does not say. It does not say the draw is more random than any other. If you have read our explainer on what a random number generator actually is, you know that a cryptographic generator in a browser is already far more unpredictable than a physical wheel. Provably fair is not about the quality of the randomness. It is about the evidence the randomness leaves behind.
What problem does it solve?
It solves the "trust me" problem: a result you are simply shown proves nothing, because the host could have picked any name and told you it was random. That is true of a hat, a wheel, a random number app and a spreadsheet formula alike. When the host is also a participant, or is friends with one, the doubt is reasonable even when the draw was clean.
Software makes it worse, not better. Chainlink describes conventional random number generators as "black boxes" on somebody else's server, where the only options are to trust the operator or rely on an audit from some other time [1]. A wheel on a website is exactly such a black box. You watch an animation drawn by the same code that chose the winner. If the code wanted a particular slice, the animation would look identical.
A screenshot does not help either. It shows that a result was displayed, not that it came from chance rather than from a setting changed a moment before pressing spin. If you have run a giveaway you have had this argument already, which is why our guide to running fair giveaways with a spin wheel spends so long on process. The problem is not randomness. The problem is that randomness is invisible after the fact. Provably fair makes it visible.
How does a sealed envelope prove anything?
Imagine you write your prediction on a card, seal it in an envelope and hand the envelope to the audience before the draw. After the draw you open it. The audience knows you could not have changed the card, because they were holding it the whole time. That is the entire idea, and cryptographers have a formal name for it: a commitment scheme.
Wikipedia's definition maps onto the envelope neatly: a commitment scheme "allows one to commit to a chosen value (or chosen statement) while keeping it hidden to others, with the ability to reveal the committed value later" [2]. The same article uses a locked box: the sender hands over a locked box; the receiver cannot open it, but because they are holding it, the message cannot be swapped [2]. A good commitment has two properties [2]:
- Hiding. Nobody can read the value from the sealed commitment.
- Binding. Only one value will open it. The sender cannot produce a second card that also "matches" the envelope.
Physical envelopes are hopeless for the internet; you cannot hand one to a thousand people watching a stream. So the digital version replaces the envelope with a hash function, and the audience "holds" it by seeing the hash on screen before the spin. Everything else is identical.
How does commit–reveal work, step by step?
The host generates a secret seed, publishes its SHA-256 hash before the draw, uses the seed to pick the winner, then reveals the seed so anyone can recompute both the hash and the winner. Chainlink's guide describes the same ingredients under the names used on Wheel Spin Pro: a server seed from the operator, a client seed, and a nonce that counts the draws [1]. Here is the cycle on a Wheel Spin Pro picker.
When the page loads, a 32-byte random seed is created in your browser and kept hidden. The "Provably fair" panel under the picker shows SHA-256(seed), labelled Commitment, with the status "Sealed before the spin". A Copy button lets a host paste it into the chat or the giveaway post before anything moves.
The picker hashes serverSeed:clientSeed:nonce:0 with SHA-256, reads the first four bytes as a number between 0 and 1, and lays the entrants end to end in proportion to their weights. Wherever that number lands is the winner. Only then does the wheel move, choreographed to stop on that entrant. The animation displays the result; it is not the source of it.
The panel changes to "Seed revealed — check it", shows the seed, and offers a Verify this draw link. The receipt contains the commitment, the seed, the client seed, the draw number, the entrant list with weights, the winner, the tool and the time.
Open the link, or paste the receipt at /verify. The page hashes the seed and compares it with the commitment, then replays the draw and compares its winner with the one the receipt claims. Two ticks means the winner was fixed the moment the commitment appeared. Nothing is sent to a server; the check runs in your browser.
What the client seed and the nonce are for
The client seed is a second value mixed into the draw so the result is not a function of the server seed alone. The nonce is a counter. On Wheel Spin Pro one commitment covers a whole session and the nonce rises by one per draw, so a host can post the commitment once at the start of a giveaway, run ten draws, and every one is covered by the same envelope. The verify page shows this as "Draw number #1, #2…".
Why can't a hash be reversed or quietly swapped?
Because a cryptographic hash is a one-way function: quick to compute from the input, with no known way to recover the input from the output and no known way to find a second input that produces the same output. Those two properties turn a hash into a digital envelope.
SHA-256 belongs to the SHA-2 family, designed by the United States National Security Agency and first published in 2001, and standardised by NIST in FIPS 180-4, the Secure Hash Standard [3][4]. It turns any input, of any length, into a fixed 256-bit output: 64 hexadecimal characters [3]. NIST's summary of the purpose is refreshingly plain: the digests "are used to detect whether messages have been changed since the digests were generated" [4].
One-way: you cannot work backwards
Knowing the commitment f697ee6a… tells you nothing usable about the seed behind it. The only way to find a seed with that hash is to guess seeds and hash them, and the seed is 32 random bytes, a number with 77 digits. Wikipedia's survey of the published cryptanalysis notes that the best known preimage attacks reach 52 of SHA-256's 64 rounds and do not extend to the full function; "as of 2024, the SHA-2 cryptographic hash function remains secure against known attacks" [3].
Binding: you cannot swap the seed afterwards
Suppose a dishonest host wanted to reveal a different seed after the draw, one that picks their friend. It would need to hash to the commitment already on screen: the same impossible search. A near miss does not help either. The avalanche effect means a tiny change to the input produces a completely different output; in the example on the SHA-2 Wikipedia page, adding one full stop to a sentence changed about 111 of the 224 output bits [3]. In our worked example below, changing the last character of the seed turns f697ee6a… into 2558a3e1…. There is no such thing as "close" with a hash.
Hiding: the commitment reveals nothing about the seed. Binding: only the original seed will ever match it. The host tied their own hands the moment the commitment appeared, and everyone watching saw them do it.
What is in a receipt, and how do I check one in 30 seconds?
A receipt is a small block of text carrying everything needed to redo the draw: the commitment, the revealed seed, the client seed, the draw number, the entrant list with weights, the claimed winner, which tool made it and when. It travels as a link of the form /verify?r=…, or, when the entrant list is too long for a link, as a "receipt code" you copy and paste. Both carry the same proof.
| Field | What it is | What a verifier does with it |
|---|---|---|
commitment | SHA-256 of the secret seed, shown before the draw | Compares it with the hash of the revealed seed |
serverSeed | The secret, 64 hex characters, revealed after | Hashes it; replays the draw from it |
clientSeed | The second seed mixed into the draw | Rebuilds the exact string that was hashed |
nonce | Draw counter within the session, from 0 | Confirms which draw under one commitment this was |
items, weights | The entrant list as it was at draw time | Lays the entrants end to end to see where the number lands |
winner | The entrant the picker announced | Checks it equals the entrant the seed selects |
tool, at, mode | Which picker, when (UTC), what shape of draw | Context; number ranges, orders and colours have matching rules |
Checking a receipt on /verify
A /verify?r= link checks itself on arrival. Otherwise go to /verify, paste the whole link, the bare code or the raw receipt JSON and press Check this draw.
You get "Verified" or "Not verified" and two lines of evidence. First: the revealed seed matches the commitment published before the draw, with both 64-character hashes printed for comparison by eye. Second: the winner follows from that seed, with the exact string that was hashed, how far along the entrant list the number landed, the computed winner and the winner the receipt claims.
Below the rows: entrant count, tool, time drawn, draw number. If the host published the commitment beforehand, compare it with the one in the receipt. That comparison, from your own copy, closes the loop.
Hash the seed in any SHA-256 calculator and confirm it produces the commitment. Then hash serverSeed:clientSeed:nonce:0, take the first eight hex characters, convert to decimal and divide by 4,294,967,296. That fraction, laid along the entrants, is the winner. A Try a sample button on the page generates a real receipt live so you can see what a good one looks like.
What does provably fair NOT prove?
It proves the winner followed from a seed fixed before the draw and that nothing in the receipt was altered. It does not prove the entrant list was honest, that this was the only draw, or that the host announced the draw they showed you. Anyone selling provably fair as a complete answer is overselling it. The verify page carries a "what this does and does not prove" section for exactly this reason.
Gap 1: the entry list
The receipt seals the list as it was at draw time. If a host quietly added their cousin three times, the receipt will faithfully show the cousin three times, and the maths will verify perfectly. The fix is procedural: publish the entrant list before you spin, somewhere you cannot edit unnoticed, so anyone can match the sealed list against the published one.
Gap 2: the second spin
A host could spin, dislike the result, refresh and spin again with a new commitment. Each receipt would still verify. Share the commitment before the draw, so a fresh commitment is visible as a fresh envelope, and spin live: on stream, on a projector, in the meeting. Provably fair is strongest alongside a witness, not instead of one.
Gap 3: the announcement
A receipt proves what the picker produced, not what the host typed into the winners post. Record the screen or pin the receipt link next to the announcement. This is the principle behind our article on how spin wheels improve transparency in online communities: the tool supplies the evidence, the community supplies the eyes.
How does it compare with "just trust the site" and third-party draws?
Provably fair is the only option of the three where the person checking needs to trust nobody, including Wheel Spin Pro. The other two are not worthless. They are weaker in a specific, describable way.
| "Trust the site" | Third-party or witnessed draw | Provably fair (commit–reveal) | |
|---|---|---|---|
| Who must you trust? | The operator and its code | The witness or the third party | Nobody; you redo the maths |
| Evidence left behind | A screenshot at best | A recording, a signed statement | A receipt anyone can recompute |
| Checkable later by someone who was not there? | No | Only by trusting the record | Yes, any time, in a browser |
| Proves the result was fixed before the draw | No | Only if the witness saw the whole process | Yes, via the commitment |
| Proves the entry list was honest | No | Partly, if the witness checked it | No; publish the list to close the gap |
| Cost and effort | None | Scheduling, sometimes a fee | None; the receipt is automatic |
| Best for | Low stakes, nobody cares | Regulated prize draws with legal weight | Anything where someone might ask "prove it" |
The witnessed draw deserves respect. A regulated prize draw with legal weight probably needs an independent adjudicator whatever the software does; our piece on spin wheels for fair prize distribution covers where a wheel fits in a formal process. But witnesses are expensive and they go home. A receipt does not.
A worked example, with illustrative values
Here is one complete draw with real SHA-256 arithmetic on made-up inputs. The seeds were chosen for this article and are not from a real session, but every hash was computed with a standard SHA-256 implementation, so you can paste the same strings into any calculator and get the same results. Five entrants, equal weights: Amara, Ben, Chloe, Dev, Elif.
| Step | Value (illustration) |
|---|---|
| Secret server seed (hidden until after the draw) | 7c1e5b2a9d4f8e6b0a3c2d1e5f4a6b7c8d9e0f1a2b3c4d5e6f708192a3b4c5d6 |
| Commitment shown before the draw = SHA-256(seed) | f697ee6a3607ad95bc7a0625e3731616b3ea8ea62004c420ed0ef826c78cb195 |
| Client seed | a1b2c3d4e5f60718 |
| Nonce (first draw of the session) | 0 |
| String hashed for the draw | 7c1e…c5d6:a1b2c3d4e5f60718:0:0 (the full seed, the client seed, the nonce and the block index, joined by colons) |
| SHA-256 of that string | 309745357ed56fb764519f4edb65b07734866493691e8b8b78e3ca5810beb582 |
| First four bytes as a number | 0x30974535 = 815,220,021 |
| Divided by 232 (4,294,967,296) | 0.1898… |
| Position along five equal entrants | 0.1898 × 5 = 0.949, so slot 0 |
| Winner | Amara |
Now play verifier. Hash the revealed seed: you get f697ee6a…cb195, the commitment that was on screen before the draw. First tick. Hash the colon-joined string, take the first eight hex characters, convert and divide: 0.1898, which lands in Amara's fifth of the line. Second tick. The receipt says Amara. Verified.
Now play cheat. You want Dev to win, so you need a seed that lands between 0.6 and 0.8 and hashes to f697ee6a…. The first condition is easy; roughly one seed in five satisfies it. The second is the preimage search nobody has ever completed against SHA-256. Change one character of the honest seed and its hash becomes 2558a3e15c84686144d8063d6e26ee0a1e73389e9663fb266aac9e77505f4a52, sharing nothing with the commitment. The envelope holds.
Weights use the same rule. If Amara had weight 2 and everyone else 1, the line would be six units long and Amara would own the first third (0 to 0.333); 0.1898 still lands on her. That is why the receipt carries the weights as well as the names. A weighted draw can be perfectly fair; it just has to be fair to the odds that were published.
Where did provably fair come from, and who uses it now?
It first appeared around 2012 on crypto-native gaming sites that had to prove each result to strangers, and has since spread to on-chain randomness services, giveaway tools and, in the form described here, ordinary decision tools. That origin is why the vocabulary of seeds and nonces sounds the way it does. The maths has nothing to do with games of chance: it is a commitment scheme.
Origins
Chainlink's 2026 guide traces the technique to crypto-native sites around 2012 [1]. Those sites depended on strangers believing each result with no regulator to vouch for them, so they proved each result instead. Every other use follows from the same need: an audience with no reason to trust the host.
Current users
- On-chain randomness services. Chainlink VRF is "a provably fair and verifiable random number generator (RNG) that enables smart contracts to access random values without compromising security or usability" [5]. Each request produces a random value plus a cryptographic proof verified on-chain before the result can be used [5]. Chainlink lists participant selection and NFT distribution among the uses [6], and its 2022 piece on non-blockchain applications names giveaways and marketing campaigns [7].
- Everyday pickers. Wheel Spin Pro applies commit–reveal to its pickers: the wheel, the name picker, the center-spin reel, the coin, the dice and the rest. No account, no blockchain, no fee.
A VRF works differently under the hood (a key pair and a proof rather than a revealed secret), but the promise is identical: here is the result, here is the evidence, check it yourself.
The short version to give your class, your chat or your committee
Before the draw, the picker shows a fingerprint of a secret it has already chosen. The draw is computed from that secret. After the draw, the secret is revealed. Anyone can hash it to confirm it matches the fingerprint, and recompute the draw to confirm it picks the same name. The host could not have changed the secret without the fingerprint changing, and could not have chosen the winner without changing the secret.
What you still do yourself: publish the entrants before you spin, spin where people can see, and keep the receipt with the announcement. Then "was it rigged?" gets a two-word answer: check it.
Related reading on Wheel Spin Pro
- What Is a Random Number Generator? — pseudo, true and cryptographic randomness.
- Is a Coin Flip Really 50/50? — the physical coin's bias and the digital coin.
- Fair Giveaways and Contests Using Online Spin Wheels — the process around the wheel.
- Spin Wheels for Fair Prize Distribution — a wheel inside a formal prize draw.
- How Spin Wheels Improve Transparency in Online Communities — the community side.
- Why Fair Decision-Making Matters — why visible fairness matters.
Frequently Asked Questions
Sources
- Chainlink (2026). Provably Fair Randomness: A Technical Guide. Chainlink, 5 February 2026.
- Wikipedia contributors. Commitment scheme. Wikipedia, accessed September 2026.
- Wikipedia contributors. SHA-2. Wikipedia, accessed September 2026.
- National Institute of Standards and Technology (2015). FIPS 180-4: Secure Hash Standard (SHS). NIST.
- Chainlink. Chainlink VRF documentation. Chainlink Docs.
- Chainlink. Verifiable Random Function (VRF) – Explained. Chainlink Education Hub.
- Chainlink (2022). Chainlink VRF: A Provably Fair RNG for Web2. Chainlink Blog, 5 September 2022.
Written by the maker of Wheel Spin Pro
The developer behind Wheel Spin Pro's spin engines and 140+ unique pickers, writing practical guides on fair random selection for classrooms, giveaways, and events. More about the project.
