Skip to main content

Verify this draw

Instantly Win A Smyths Gift Card was drawn on 26 Aug 2026. The winner was Victoria I. from Calne with ticket #1884.

Method

Verified auto-draw

Tickets in the draw

3,290

Winning ticket

#1884

Winner's odds

1 in 137

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)
328cfe837bcdbb8cf04ff1fd701bbee0406559aba9812d8329deebda7c1fad07
Revealed seed (published after the draw)
d75f881af153994bed88752d361638c93dfa163dece40863a66bb9976c78babe
Beacon round (emitted after close) & its public value
Round 6,411,447 on the drand chain 8990e7a9aaed2ffed73dbd7092123d6f289930540d7651336225dc172e51b2ce
d11ba5e879c1d32fe85ed4f87f10a6a6863fc66b4a5435b2392f1d35b3811985
Re-fetch it: curl https://api.drand.sh/8990e7a9aaed2ffed73dbd7092123d6f289930540d7651336225dc172e51b2ce/public/6411447

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' 'd75f881af153994bed88752d361638c93dfa163dece40863a66bb9976c78babe' | sha256sum

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

The 3,290 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 #1,884:

$seed    = 'd75f881af153994bed88752d361638c93dfa163dece40863a66bb9976c78babe';
$tickets = [ /* the 3290 ticket numbers in the draw, sorted ascending */ ];
$total   = count($tickets);
$msg     = 'draw:019feafc-dbc2-73b8-b8a2-3a97e117495f:'.$total.':d11ba5e879c1d32fe85ed4f87f10a6a6863fc66b4a5435b2392f1d35b3811985';   // 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 #1884

3. Ticket #1,884 belongs to the winner

That ticket number is held by exactly one entry - Victoria I. from Calne. 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
56c2e7b90e94bb508cddb4e85f4801a7d5806dfbbab91a85c357fc86ce025431

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)
88cb8521f259787437ddf80aa1cd493946f65479b187974a61424898dc79cc49
The shuffle key itself (revealed now the competition has ended)
KQX9hz8GBHYuHH5i18nyWmXbwtUdnarzCEfAe5OT

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 9,500 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' 'KQX9hz8GBHYuHH5i18nyWmXbwtUdnarzCEfAe5OT' | sha256sum        // => 88cb8521f259787437ddf80aa1cd493946f65479b187974a61424898dc79cc49

// 2. re-run the shuffle: position -> ticket number
$seed   = 'KQX9hz8GBHYuHH5i18nyWmXbwtUdnarzCEfAe5OT';
$domain = 9500;   // 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.

?