EN
Create a wheel

Verify a draw certificate

Loading...

Paste a certificate link or upload a certificate file to check that a certified draw was fair and unchanged.

Quick answer

Paste a certificate link or upload a certificate file to check that a certified draw was fair and unchanged. It is free, needs no sign-up and runs entirely in your browser.

How to use it

  1. Paste the certificate link, or upload the .json certificate file.
  2. The page recalculates every step in your browser.
  3. You get a pass or fail for each check, with details.

What people use it for

  • Check a giveaway you entered. Open the certificate link from the host and confirm the winner matches the entries and the code they posted.
  • Audit your own draw. Before announcing, verify your certificate to make sure everything matches.
  • Settle disputes. If someone questions a result, the certificate answers it with math instead of trust.
  • Teach how fair draws work. A great classroom example of how hashing and commitments work.

Tips

  • Compare the commitment code. Make sure the code in the certificate is the same one the host posted before the draw.
  • Check the entry count. The certificate lists how many entries were included. It should match the number announced.
  • Look for your entry. Your name or number should appear in the entry list.
  • It works offline. Verification happens in your browser. Nothing is sent to a server.
  • Anyone can repeat it. Developers can recompute the result with the steps below in any programming language.

How it works

Verification repeats the original calculation in your browser. It hashes the seed and checks it against the commitment code, fingerprints the entry list, and recomputes each winner from the seed with HMAC-SHA256. If any part was changed, the result will not match and the page says so.

Privacy

Everything you type stays in your browser. Lists, names and results are not uploaded or stored on our servers, and there is no account to create. Close the tab and the data is gone, unless you saved it on your own device.

How to verify by hand

  1. Compute SHA-256 of the seed (as a lowercase hex string). It must equal the commitment code.
  2. Compute SHA-256 of JSON.stringify(entries), where entries is the list of [label, weight] pairs in order. It must equal the entries fingerprint.
  3. For pick i = 0, 1, 2...: compute HMAC-SHA256 with the seed bytes as the key and the message "fingerprint:i". Read the first 6 bytes as an integer and divide by 248 to get u.
  4. Multiply u by the total weight of the entries still in the pool, then walk the pool in order subtracting weights until the value drops below zero. That entry is pick i. Remove it and continue.

Frequently asked questions

What exactly is checked?

That SHA-256 of the revealed seed equals the commitment code, that the entry list matches its fingerprint, and that recalculating the draw with HMAC-SHA256 gives exactly the same winners in the same order.

Can I verify without this website?

Yes. The method is standard cryptography. The steps are listed below so any developer can reproduce them.

Page updated . Written and checked by the Spinrin team.

Install Spinrin

Add the app to your device. It opens full screen, starts faster and works offline.