Verify a draw

Every draw is calculated from a seed that's kept secret until the draw closes, and a hash of that seed is published before any tickets go on sale. Once the draw happens, the seed is published in full. This page recomputes the result in your own browser — nothing here trusts our server for the maths.

Check it yourself

Paste the revealed seed below (auto-filled if the draw has already happened) and check that it hashes to the published value above, and that it produces the published winning ticket number.

How the calculation works

winning_number = (HMAC_SHA256(key = seed_bytes, message = "<slug>:<N>") interpreted as a big integer) mod N, plus 1

This is a five-line script in any language with SHA-256/HMAC support — you don't have to trust this page either, you can reimplement it yourself from the published seed.