🛡️ Independent Cryptographic Verifier

Giveaway Audit Verifier: Independent SHA-256 Draw Verification

Mathematically verify any random giveaway draw from The Spin The Wheel. Inspect SHA-256 commitment fingerprints, confirm that zero host re-rolls occurred, and reproduce the winning slice with full visual replay.

Audit Parameters & Entrant Data

Data auto-populates from shared links or can be entered manually for independent auditing.
Explore Tool Ecosystem

Specialized Decision Makers & Game Pickers

The Mathematics of Provably Fair Verification

Online giveaways have historically suffered from skepticism. Screen recordings can be spliced, web developer tools can inject fake elements, and hosts can spin repeatedly off-camera until their friend or second account wins.

The Spin The Wheel solves this completely by leveraging SHA-256 Commit-Reveal Cryptography. This verification page empowers anyone—including giveaway participants, moderators, and external auditors—to independently confirm draw integrity.

The Three Immutable Verification Gates

1️⃣

Gate 1: The Commitment Match

The verifier checks whether $\text{SHA-256}(S_{\text{server}} + ":" + H_{\text{entries}}) \equiv H_{\text{commit}}$. Because cryptographic hash functions are collision-resistant and irreversible, the host could not have known the winning outcome when they published $H_{\text{commit}}$.

2️⃣

Gate 2: Entrant Roster Integrity

The verifier calculates the hash of the JSON-encoded participant array. If the host tried to secretly remove a participant or add duplicate tickets after publishing the commitment hash, Gate 2 will fail immediately.

3️⃣

Gate 3: Deterministic HMAC Outcome

Using standard HMAC-SHA256, the algorithm converts the hash digest into a 32-bit integer, maps it to a float $\in [0, 1)$, and multiplies by the total participant count $N$. The resulting integer index points incontrovertibly to the true winner.

How to Verify in Python or Bash (Zero-Trust Manual Audit)

You do not even have to trust this webpage. You can verify the exact mathematical outcome using standard command-line tools or a simple Python script:

import hashlib
import hmac
import json
import math

# 1. Inputs from the giveaway
server_seed = "e8b7c39045a16d829f04b901aef4582c09182374659281a0b3c4d5e6f708192a"
client_seed = "twitch_stream_chat_seed_42"
nonce = 0
entrants = ["Alice Smith", "Bob Johnson", "Charlie Brown", "Diana Prince", "Evan Wright", "Fiona Gallagher"]
expected_commitment = "..."

# 2. Verify Gate 1 & 2
entrants_json = json.dumps(entrants, separators=(',', ':'))
entrants_hash = hashlib.sha256(entrants_json.encode('utf-8')).hexdigest()
calculated_commitment = hashlib.sha256(f"{server_seed}:{entrants_hash}".encode('utf-8')).hexdigest()

print("Commitment Matches:", calculated_commitment.lower() == expected_commitment.lower())

# 3. Calculate Deterministic Winner (Gate 3)
message = f"{client_seed}:{nonce}".encode('utf-8')
key = bytes.fromhex(server_seed)
digest = hmac.new(key, message, hashlib.sha256).hexdigest()

int32 = int(digest[:8], 16)
fraction = int32 / (0xFFFFFFFF + 1)
winning_index = math.floor(fraction * len(entrants))

print(f"Verified Winner: Index {winning_index} -> {entrants[winning_index]}")
            

Frequently Asked Questions About Verification

What does "100% Cryptographically Verified" mean?

It means mathematical proof exists that the giveaway outcome was determined strictly by the cryptographic seeds and entries roster locked before the spin began. The host had zero ability to alter the result or re-roll.

Can a host predict who will win when they generate the seed?

No, because the client seed can be provided by the live audience or public blockchain timestamp after the host locks the server seed hash. Since the final outcome requires both seeds, neither party can predict or manipulate the outcome.

What should I do if an audit fails?

If an audit fails, check if the participant names were copied with extra whitespace or different capitalization. If the roster and seeds are exact and the audit still fails, the draw was manipulated or the seed was swapped.