Cryptography · Instagram giveaways
Cryptographic Verifiable Random Selection for Giveaways
What "cryptographic" means in rafflecopter.app draws, what gets published, and the limits of the proof.
The random part
The seed comes from the Web Crypto API in your browser (crypto.getRandomValues), a cryptographically secure random generator, at the moment you press draw. Neither the host nor the site picks it.
The selection
The entrant list is sorted by lowercased username and hashed together with the seed using SHA-256. The first 32 bits of the hash, modulo the number of entrants, select the winner. Extra winners use the same seed with their position appended, after removing the previous winner. The step-by-step version is on the verifiable draw page.
What is published
After the draw, a public proof page shows the seed, a SHA-256 hash of the pool, seed and winners, the winners and a participant count. The same record is available as JSON at /api/proof?code=CODE.
- No commitment is published before the draw.
- The proof covers the pool that was loaded for your tier, which on large posts can be smaller than the total comment count.
- Comment loading works with Instagram posts and reels only.
Run a draw that comes with a proof page
Paste an Instagram post or reel URL. Free for posts with up to 200 comments.