Step 1: the entry list is fixed and fingerprinted
When the organiser presses "Lock in entrants and draw", flipj's server stores the list exactly as submitted (one entrant per line, in order) and calculates its SHA-256 hash, shown on the certificate as the "entrant list fingerprint". A hash is a 64-character summary with a useful property: change one letter of one name, add an entrant or swap two lines, and the fingerprint comes out completely different. So the fingerprint pins down the exact list and its order.
The draw is also given a random ID (the code in its link), and its creation time is recorded.
Step 2: a future round of public randomness is chosen
At the same moment the server picks a round of drand that has not happened yet. drand is a public randomness beacon run by the League of Entropy, a group of independent organisations; its "quicknet" network publishes a new random value every 3 seconds, each with a round number. flipj takes the round in progress when the draw is created and adds ten, so the deciding round is published roughly 30 seconds later. The round number is on the certificate from the start.
This is the heart of it. When the list is locked, the random value that will decide the draw does not exist yet. The organiser cannot know it, flipj cannot know it, and neither can choose it.
Step 3: the winners are calculated
Once drand publishes that round, the result is fixed by arithmetic, and the same arithmetic gives the same answer for everyone:
- A seed is made by hashing three things joined with colons: the drand random value, the list fingerprint and the draw ID.
- The seed is stretched into as many random numbers as needed by hashing it with a counter (seed:0, seed:1, and so on) and reading each result as eight 32-bit numbers.
- Those numbers drive a Fisher–Yates shuffle of the entrant positions. A number is discarded and the next one used whenever keeping it would make some positions slightly more likely than others, so every entrant has exactly the same chance.
- The first positions out of the shuffle are the winners, in order, followed by the reserves.
Because the fingerprint and the draw ID are part of the seed, two draws that use the same drand round still get unrelated results. The whole algorithm is about sixty lines and is published at /fair.js: it is the very file the server runs.
How to verify a draw yourself
The quick way. Open the certificate and press Verify in my browser. Your browser, not our server, then does three things: it recalculates the fingerprint from the entrant list shown on the page; it fetches the random value for that round directly from drand's public servers; and it re-runs the shuffle using the published code. It reports "Verified" only if the fingerprint, the random value and every winner and reserve match what the certificate says.
The independent way. You do not have to use our page at all. Download the entrant list from the certificate, look up the round on drand (the round number on the certificate links to it), and run the functions in /fair.js yourself, or reimplement them from the description above.
What to look for as an entrant: that you are on the entrant list (and only as many times as the rules allow); that the "Created" time fits the advertised closing time; and that the organiser shared the certificate link promptly.
What it proves, and what it does not
A verified certificate proves that this exact list existed before the deciding randomness did, and that the winners follow from the two by a public rule. It cannot prove things that happened before the list was pasted in:
- Who is on the list. If an organiser leaves out valid entrants or adds a friend, the draw is a fair draw of the wrong list. This is why the list is shown publicly.
- Hidden names. If the organiser ticks "hide names", the certificate shows the fingerprint but not the list, so only someone given the list can run the check. Entrants are trusting the organiser more in that case.
- Repeat draws. Nothing stops someone creating several draws and publicising the one they like. A certificate link posted before its countdown ended, or at the advertised time, rules that out; a link that appears long after the draw was created deserves a question.
- The beacon itself. The check trusts drand to be unpredictable. Its values come from many organisations acting together, and each round can be checked against drand's own records. Our in-browser check compares the value with what drand's servers return; it does not re-check drand's cryptographic signature.
Draws and their entrant lists are kept for 90 days and then deleted, so verify, and save a copy, within that time.
Last reviewed 2026-11-14.