Every roll at HashDice is generated using a combination of three components to ensure complete fairness and transparency:
The roll result is calculated using the following formula:
HMAC_SHA256(server_seed, client_seed + ':' + nonce) Take first 8 hex digits -> decimal 0-4294967295 Divide by 4294967295 x 100 -> 0.00-99.99
Example: If the HMAC result is
a1b2c3d4..., the roll would be
42.17 (0.4217 x 100 = 42.17).
Enter the Server Seed, Client Seed, and Nonce to verify any roll:
Before you play: The server seed is hashed and published. You can see the hash but not the actual seed.
After you finish: You can reveal the server seed and verify every roll independently. If the server tried to cheat, the seed hash would not match.
Client Seed: You can change your client seed anytime, giving you full control over the randomness.
Nonce: Every bet has a unique nonce, preventing the same roll from being replayed.