Chat Rules
English Room
76
Provably Fair
The following is a guide on how to verify the fairness of our games.
We use a cryptographic hash function to generate a seed that is used choose the winning number. The seed is encrypted and sent to the player. The player can then decrypt the seed and verify that the game was fair.
The player can also generate their own seed and compare it to the seed that was sent to them to verify that the game was fair.
How to Verify the Fairness of Our Games
- Click on the Provably Fair button on the game page.
- The server will generate a seed and encrypt it using a public key.
- The server will send the encrypted seed to the player.
- The player can decrypt the seed using their private key.
- The player can then verify that the seed matches the seed that was used to shuffle the deck of cards or choose the winning number.
How to Generate Your Own Seed
- Click on the Provably Fair button on the game page.
- The server will generate a seed and encrypt it using a public key.
- The server will send the encrypted seed to the player.
- The player can generate their own seed.
- The player can then compare their seed to the seed that was sent to them to verify that the game was fair.
Roulette technical details
- The 'public seed' is a concatenation of 5 pairs of random numbers, 01 to 39, generated daily.
- The 'server seed' is a SHA-256 hash of 16 cryptographically secure random bytes, generated at the same time as the public seed.
- Round ID
Our system generates the result for each round by using the SHA-256 hash of 3 separate inputs.
Players can replicate any past roll by using the code below. Please note that you should use the unhashed (not hashed) server seed with the script
$server_seed = "15x3e04a4241ca1b2048cc3b3b844e479f2bd9c23a870628072ee98fd144a2jt2"; $public_seed = "384112512743"; $round = "1000"; $hash = hash('sha256', $server_seed . "-" . $public_seed . "-" . $round); $roll = hexdec(substr($hash, 0, 8)) % 15; if ($roll == 0) $roll_colour = 'green'; elseif ($roll >= 1 and $roll <= 7) $roll_colour = 'red'; elseif ($roll >= 8 and $roll <= 14) $roll_colour = 'black'; echo("Roll: $roll Colour: $roll_colour");
You can execute code straight from your browser with tools such as this PHP code.