unganador

How we verify every giveaway

With most giveaway pickers, you have to trust that the result was random. With unganador, you can prove it. We use a commitment scheme (commit–reveal), the same principle used in cryptography to make sure no one, not even us, can pick the winner.

  1. 1

    Commitment

    When you create the giveaway, we generate a random 256-bit secret seed and publish only its SHA-256 fingerprint. From that moment on, we can’t change it without it showing.

  2. 2

    Locked list

    Once we finish reading the comments, we apply your rules, sort the participants alphabetically and publish the SHA-256 fingerprint of the list.

  3. 3

    Organizer seed

    When you tap “Draw”, your browser generates another random seed. Since we don’t know it in advance, we can’t predict the result.

  4. 4

    Deterministic draw

    We shuffle the list with the Fisher–Yates algorithm using HMAC-SHA256(secret seed, organizer seed : list fingerprint : counter), with rejection sampling so every participant has exactly the same odds.

  5. 5

    Reveal

    We publish the secret seed on the certificate. Anyone can check that it matches the fingerprint and repeat the calculation to get the same winners.

How do I verify it?

Open the giveaway certificate and tap “Verify this giveaway in my browser”. The calculation runs on your device using the Web Crypto API and shows you whether everything matches. You can also download the participant list and repeat it with your own code: the algorithm is documented above.

What we can’t verify

Instagram doesn’t allow reading follower lists or likes without access to the account. That’s why we don’t promise to verify that the winner follows you: that’s what alternates are for, in an order also fixed by the draw.

Create a verifiable giveaway →