Skip to main content

Verify this draw

£60 Lego Store Gift Card #4 was drawn on 28 Sep 2026. The winner was Terry E. from Brixworth with ticket #109.

Method

Verified auto-draw

Tickets in the draw

144

Winning ticket

#109

Winner's odds

1 in 12

In plain English

Before entries closed, we locked in a secret number and published a “fingerprint” of it (a one-way SHA-256 code) that proves we couldn’t change it later. After entries closed, that number, mixed with a public source of randomness that nobody controls, picked the winning ticket. So the result couldn’t be set in advance or predicted by anyone. The steps further down let you re-run it and land on the same ticket yourself.

How this draw is provable

Before entries closed we published a commitment: a one-way fingerprint (SHA-256) of a secret random seed. After the draw we revealed the seed. Because the commitment was public before entries closed, the seed could not have been changed afterwards to draw a particular ticket.

The draw also folds in a public randomness beacon (drand, the League of Entropy) whose value is only published after entries close. Anyone can re-fetch the exact beacon round below and confirm the same value went into the draw.

Commitment (published before entries closed)
bf37df791bdda005e2f2f0d99644d918ecac5426349fbb44645920a8418721c3
Revealed seed (published after the draw)
c4ca278cbbb9858f84dc5f3bf8bf828a915db0ac396cef5b68c499dda01335cb
Beacon round (emitted after close) & its public value
Round 6,506,427 on the drand chain 8990e7a9aaed2ffed73dbd7092123d6f289930540d7651336225dc172e51b2ce
01c6c00db23a1ce988acd4e6d29b0812f011b590a2953267d274ac5211530f4c
Re-fetch it: curl https://api.drand.sh/8990e7a9aaed2ffed73dbd7092123d6f289930540d7651336225dc172e51b2ce/public/6506427

Check it yourself

1. The seed matches the commitment

Run SHA-256 on the revealed seed - it equals the commitment above. For example, in a terminal:

printf '%s' 'c4ca278cbbb9858f84dc5f3bf8bf828a915db0ac396cef5b68c499dda01335cb' | sha256sum

2. The seed and the beacon draw the winning ticket number

The 144 ticket numbers that went into this draw are lined up in ascending order; the locked-in seed mixed with the post-close beacon value shown above (both are in the $msg below) picks one. The seed was committed before entries closed, and the public beacon that decides the winner didn't exist until after - so the result couldn't be set in advance or predicted. Sort the numbers in play (their fingerprint is below, and the full set is in the entrants list) and recompute - you'll get ticket #109:

$seed    = 'c4ca278cbbb9858f84dc5f3bf8bf828a915db0ac396cef5b68c499dda01335cb';
$tickets = [ /* the 144 ticket numbers in the draw, sorted ascending */ ];
$total   = count($tickets);
$msg     = 'draw:01a0c5ae-a6a5-701b-9718-58f7f844aa5a:'.$total.':01c6c00db23a1ce988acd4e6d29b0812f011b590a2953267d274ac5211530f4c';   // note: the trailing value is the drand beacon above
$span    = 1 << 60;                        // 60-bit space
$limit   = intdiv($span, $total) * $total; // reject above this to remove bias
$i = 0;
do {
    $n = (int) hexdec(substr(hash_hmac('sha256', $msg.':'.$i, $seed), 0, 15));
    $i++;
} while ($n >= $limit);
echo $tickets[$n % $total];                 // => winning ticket #109

3. Ticket #109 belongs to the winner

That ticket number is held by exactly one entry - Terry E. from Brixworth. We publish a fingerprint of every ticket number in the draw, so the set of numbers can't be altered after the fact, and we hold the full list in our tamper-evident audit trail, available to the Advertising Standards Authority on request.

Ticket-numbers fingerprint
e6a78c22539f1aaa1ea73eddc32f0912d97b4a28ef1eafa91410d76a4c68383d

How ticket numbers are assigned

On this competition you don’t choose your ticket number, and it isn’t simply the next number in order. When you buy, the system gives you a number using a secret shuffle that was set when the competition opened, before anyone had bought a ticket, and can’t be changed after.

Because that shuffle is secret and gives everyone a different number:

  • Two people can never end up with the same number.
  • Nobody, not you and not us, can guess which number a purchase will get. On this draw the number itself isn’t what picks the winner - that’s the draw above, which nobody can predict.
  • Your number is fixed the instant you buy, and recorded straight away.

We keep the shuffle secret so no one can work out in advance which number a purchase will get, which is what stops anyone targeting a winning ticket. Every number that’s given out still appears in the competition’s entrants list, so the numbers in play are public and can’t be quietly changed later.

You can see them: every entry and its ticket number is listed on the competition’s entrants page.

Prove the shuffle yourself

When the competition opened we published a fingerprint of the secret shuffle key, so it’s on record as fixed before anyone bought:

Shuffle-key fingerprint (published at open)
0212b05d6a9d0e3aa0ce50baab4a709de2a779b9cfb6be4fb56a011241cba6b9
The shuffle key itself (revealed now the competition has ended)
SRCFkUKN4qWbzNh9M7twyqYOTcDasNL6oIOl0MXQ

First check the key matches the fingerprint published at open, then re-run the shuffle for yourself: feed each position 1, 2, 3… through it and you get the 147 ticket numbers in the pool, each exactly once. If it matches the fingerprint and produces a complete set with no repeats, the numbers were genuine and untouched.

Show the method
// 1. the key matches the fingerprint published at open:
printf '%s' 'SRCFkUKN4qWbzNh9M7twyqYOTcDasNL6oIOl0MXQ' | sha256sum        // => 0212b05d6a9d0e3aa0ce50baab4a709de2a779b9cfb6be4fb56a011241cba6b9

// 2. re-run the shuffle: position -> ticket number
$seed   = 'SRCFkUKN4qWbzNh9M7twyqYOTcDasNL6oIOl0MXQ';
$domain = 147;   // the pool the numbers are shuffled within
$prf = fn($v,$r) => (int) hexdec(substr(hash('sha256', "$seed:$r:$v"), 0, 8));
$permute = function(int $pos) use ($domain, $prf) {
    $half = (int) ceil(((int) ceil(log($domain, 2))) / 2);
    $mask = (1 << $half) - 1;
    $x = $pos - 1;
    do {
        $l = ($x >> $half) & $mask; $r = $x & $mask;
        for ($i = 0; $i < 4; $i++) { $n = $l ^ ($prf($r, $i) & $mask); $l = $r; $r = $n; }
        $x = ($l << $half) | $r;
    } while ($x >= $domain);
    return $x + 1;
};
// $permute(1), $permute(2), ... are the ticket numbers, in the order they were issued.

See how all our draws work on our fairness & security page, or back to all winners.

?