FairLock is Basecomp's system for proving that every draw is fair. It uses a cryptographic commitment scheme — the same technique used in blockchain and secure voting systems — to prove that winning positions were decided before any tickets were sold.
When you publish a raffle, Basecomp automatically:
At this point, the winning positions are permanently locked. Changing them would produce a different hash, and the tampering would be immediately detectable.
As tickets are sold and instant wins are checked, the system never needs to decrypt the main prize positions. Instant win detection uses a separate HMAC lookup that can verify a ticket position in under 100 milliseconds without revealing any other winning positions.
When the draw runs, the winning position is decrypted and matched to the corresponding ticket number. The full verification data — positions, salt, and hash — is then published on the raffle page for anyone to inspect.
Any customer, journalist, or third party can verify a draw by copying the published data and running a SHA-256 calculation themselves using any online tool. If the hash matches the one published before ticket sales opened, the draw is proven fair.