Skip to content

Verify a receipt

Got the receipt link of a Choose Tools spin? Paste it here and see whether the result checks out.

Check the receipt of one spin or draw made on Choose Tools. The seed and the list are run again in your browser, and nothing is uploaded.

Paste the link you received. The check runs in your browser.

Draw receipt

A wheel with any weight other than 1 has no receipt. Its record is the #d= link, which carries the answer and the options, with no seed to run again.

Example receipt: a draw of one name from five, made with a fixed seed.

Guide and details

Paste a receipt link. The winners are recomputed from the seed and the list, here in your browser.

What the check does

A receipt link from the wheel of names or the name picker contains the time of the draw, the full list in order, the winners, the seed and a fingerprint. This page ignores the recorded winners, computes them again from the seed and the list, and compares. It also recomputes the fingerprint. Receipts exist for spins where every option has the same chance.

Draws with several rounds

A link for all rounds holds every round in order. Each one is recomputed on its own, then labelled by how its list follows the previous round: the same list, the previous list minus the winner, or a list edited in between. A wrong round is marked and the rest stay readable, so an elimination game can be checked from the first spin to the last.

The method, so you can check it without us

The calculation is short enough to reproduce in any language with SHA-256.

  1. The seed is 32 random bytes from crypto.getRandomValues, written as 64 hexadecimal characters.
  2. Block i of the random stream is the SHA-256 of the text seed:i, with i starting at 0. Each block is read as eight 32-bit numbers, most significant byte first.
  3. Each draw uses two numbers from the stream: the lower 21 bits of the first followed by the 32 bits of the second, a 53-bit value. If the value is not below the largest multiple of n that fits in 253, it is discarded and the next two numbers are used. The result is the value modulo n.
  4. For winners without repeats, start from the positions 0 to n − 1. For the k-th winner, counting from 0, draw a number below n − k, add k, and swap that position with position k. The first positions are the winners, in order. When repeats are allowed, each winner is simply one draw below n.
  5. The fingerprint is the SHA-256 of the JSON text {"participants":[…],"seed":"…"}, with the list in order and no extra spaces.

Limits worth knowing

A passing check ties the winners to the seed and the list. It says nothing about how the list was put together, and it cannot show that the organiser drew once. If a draw matters, ask for it to be made live and for the receipt link to be published straight away.

Why use Choose Tools

  • One source of randomness

    Every draw calls crypto.getRandomValues and throws away the values that would cause modulo bias. A test fails if Math.random ever appears in the source.

  • The result comes first

    The wheel, the coin and the dice pick the outcome before they move. The animation only shows what was drawn.

  • A slice is a chance

    Each option on the wheel is one slice, and the size of a slice is the chance of that option.

  • Lists stay on your device

    They are kept in this browser. Shared links carry the list after the #, a part the browser leaves out of requests to servers. There is no account.

  • Quiet by default

    Sound is off until you turn it on, and with “reduce motion” set in your system the result appears with no animation.

Questions and answers

Can I check a draw with several rounds?

Yes. Paste the link for all rounds. Each round is recomputed from its own seed and list, and marked as a first round, the same list, a winner who left the list, or a list edited before that round. One wrong round fails the check without hiding the others.

What does a passing check prove?

That the recorded winners are exactly what the recorded seed produces over the recorded list, and that the list and seed match the fingerprint. Changing a name, the order or the winner makes the check fail.

What does it not prove?

That the draw was made only once. The seed is created at the moment of the draw on the organiser’s device, so an organiser could draw again and show only the result they prefer. A live draw or a screen recording covers that gap.

Is the list sent to your server when I verify?

No. The receipt sits after the # in the link, and browsers do not send that part of an address. The check runs in the page.

Why does the link to a shared answer not check?

The link made with “Copy link” holds the question, the options and the answer. It has no seed, so it is not a receipt and there is nothing to recompute. A spin with unequal chances has no receipt either.