Check this draw
The £25 Free Draw: drawn Wednesday 18 November at 8pm
Nobody at Dustline Draws chose this winner. At the draw time the entry list was frozen and fingerprinted. The next public random number from the drand beacon, a number produced jointly by independent organisations around the world every 30 seconds and published for anyone to read, was combined with that fingerprint to pick one line of the list. Anyone with the list and the beacon value gets the same answer.
- Entry list
- Download the entry list (CSV)
66 entries, sorted by ticket number
sha256: 919a05d1ea78a28d6c680e5967d7281135e5b1afe12500bcd58e2860fddc8f3e
The hash is of the file exactly as downloaded (Unix line endings).
- Random number
drand round 6653367, published Wednesday 18 November 20:00:30 UK time, the first round published at least 30 seconds after the draw time
randomness: 492a1877a9ce7ce4bf317c21275ab2a5366eb94d8aefdbcd05574e718ece9c74
Signature
87c4101ad6c3ce55132134669c9ffbf848266ec7083ac259077bf9d9bc913a71b6d536b89b703824da6f9d5a79778c271903c90c97cf93983e6712bd56b387e6045edd07db829b95591c6aaef64d1b61911a5f31213e48e30fe4cabe839b0c9e
- Calculation
seed = sha256("919a05d1ea78a28d6c680e5967d7281135e5b1afe12500bcd58e2860fddc8f3e:492a1877a9ce7ce4bf317c21275ab2a5366eb94d8aefdbcd05574e718ece9c74") = 417006ae6abf27068c0717d8c68cf01dca07db478e1230c6de0071251cb7e49c
index = seed mod 66 = 60
line 60 of the list (counting from 0) is ticket #445
- Winner
- Barrie P., ticket #445 (online entry), drawn 20:00:48 UK time
Check it yourself
- Download the entry list above.
- Check its fingerprint:
shasum -a 256 <file>on a Mac or Linux,certutil -hashfile <file> SHA256on Windows; it must equal the hash above. - Open the beacon record and copy its
randomness. - Save this script as
verify.mjsand runnode verify.mjs <file> <randomness>; it prints the same seed, index and ticket.
import { createHash } from "node:crypto";
import { readFileSync } from "node:fs";
const [csvPath, randomness] = process.argv.slice(2);
const csv = readFileSync(csvPath, "utf8");
const entryListHash = createHash("sha256").update(csv, "utf8").digest("hex");
const tickets = csv.trim().split("\n").slice(1).map((line) => Number(line.split(",")[0]));
const seed = createHash("sha256").update(`${entryListHash}:${randomness.toLowerCase()}`, "utf8").digest("hex");
const index = Number(BigInt("0x" + seed) % BigInt(tickets.length));
console.log({ entryListHash, seed, index, winningTicket: tickets[index] });Which round: the first one published at least 30 seconds after the draw time, round = ceil((drawTime + 30 − 1595431050) / 30) + 1 with the draw time in unix seconds (1795032000), on the drand default chain 8990e7a9aaed2ffed73dbd7092123d6f289930540d7651336225dc172e51b2ce.