No need to trust. Verify.

Every draw result is a calculation anyone can redo in their own browser and land on the same ticket.

From the seal to the winner

Four steps, always in the same order. None of them has a button to pick a winner.

  1. Before the first sale

    The seal

    The system creates a secret key and publishes only its SHA-256. The key is locked and nobody can swap it later.

  2. When sales end

    The list

    The paid tickets become a public list in ascending order. The SHA-256 of that list is the second ingredient.

  3. At draw time

    The math

    HMAC-SHA256 of the key with the list, read as a number and divided by the number of tickets. The remainder is the position.

  4. With the result

    The reveal

    The key is published. You can see it matches the seal and redo the whole calculation.

position = HMAC-SHA256(key, list:1) mod tickets

Do the math yourself

Type any key and choose how many tickets compete. The math runs here, with the same function as the draw. Change one letter and the winner changes.

From 2 to 10,000

  1. Seal (SHA-256 of the key)Calculating
  2. Ticket list (SHA-256)Calculating
  3. HMAC-SHA256Calculating
Drawn position-
Winning ticket0000

This test does not draw anything for real: it shows the same math that decides every draw.

Pick a draw to verify

Ended draws with a published proof. Each one opens the full verification.

See all ended raffles

For those who want to dig deeper

Method
Commit and reveal with HMAC-SHA256. The math runs on Web Crypto, the same function on the server and in the verifier's browser.
The seal
The secret key has 32 bytes. Its SHA-256 is published before the first sale and never changes.
The list
The paid tickets, no repeats, in ascending order, one per line. The SHA-256 of that text is the public seed.
The math
HMAC-SHA256(key, list:nonce), read as a 256-bit integer, modulo the number of tickets. The ticket at that position of the list wins.
The secret
The key only comes out after the number is public. Before that it shows up nowhere: a draw in progress shows the seal, never the key.

Add Coins

Choose how to pay. Coins land in your wallet as soon as the payment confirms.

Loading the deposit
Sign in with Steam