Verify a raffle draw

Back to the raffle

Pick a draw from the past draws list on the raffle page to check it here, or use the calculator below.

How the winner is picked

Before the draw, the SHA-256 hash of a secret server seed and the hash of the ticket list are published. Later, a public client seed is entered on stream. For prize number n, the digest is HMAC-SHA256 with the server seed as the key and the text clientSeed:n as the message.

The roll is the first 13 hex digits of the digest, read as a number, modulo the total tickets. The winner holds ticket roll + 1, counting through the list in order. The server seed is published once the draw is rolled, so anyone can repeat this.

Calculator

Runs only in your browser. Nothing is sent anywhere.