1 063Upgrades
0Battles

Fairness check

Any roulette round can be re-checked by yourself — the calculation runs right in your browser.

Enter a round number and key, or pick a round from the list

How it works

  1. Before the round starts the site shows the SHA-256 hash of the secret key (server seed). The key can't be changed after that — the hash would no longer match.
  2. After the round the key is revealed. HMAC-SHA256 is computed from it with the message “round:number”.
  3. The first 13 characters of the HMAC are turned into a number and divided by 2⁵², giving a number from 0 to 1. Multiply by 15 and round down: that's the winning cell 0–14.
result = floor( int(HMAC_SHA256(seed, "round:" + id)[0:13], 16) / 2^52 * 15 )
0 → green · 1–7 → red · 8–14 → black

Recent rounds