Provable fairness

Check every round yourself.

Every SPILVON game draws its results from secret seeds that are committed before you bet. Afterwards you can recompute any round yourself, with no account and no need to trust us.

01 / HMAC-SHA256

How it works

  1. 01

    The server seed is committed first

    Before your first round, the game server creates a secret server seed and shows you only its SHA-256 hash. The hash fixes the seed without revealing it.

  2. 02

    You choose the client seed

    Your browser picks a client seed and you can replace it at any time. We cannot know it when we commit, so we cannot choose a server seed that favours us.

  3. 03

    Every round has its own nonce

    Rounds played with the same seed pair use the next nonce: 0, 1, 2 and so on. No two rounds share the same inputs, and no result can ever be drawn twice.

  4. 04

    One HMAC-SHA256 stream decides

    Results are read from HMAC-SHA256, keyed with the server seed, over the game code, client seed, nonce and a block counter. Ranges use rejection sampling, so no outcome is favoured.

  5. 05

    Reveal, then verify

    When you rotate your seed pair, the old server seed is revealed. Its hash must match the one you were shown, and every round played with it can be recomputed exactly.

02 / SPILVON RGS

Verify inside the game

Every game has a fairness panel. It shows the active seed hash, your client seed and the nonce, lets you change your seed, and recomputes past rounds once their server seed is revealed.

The algorithm

games/rng.ts
server_seed_hash = SHA-256(server_seed)          shown before your first round
block(i) = HMAC-SHA256(key = server_seed,
                       message = game ":" client_seed ":" nonce ":" i)
           i = 0, 1, 2, ...  each block = eight big-endian uint32 values
integer in [0, n): draw x until x < floor(2^32 / n) * n, use x mod n
after rotation: SHA-256(revealed server_seed) == server_seed_hash

03 / SPILVON Originals · Crash

Crash fairness

In shared crash rooms every player sees the same round. Their results come from a pre-committed hash chain, salted by a Bitcoin block that did not exist yet.

04 / Security & compliance

What this proves

Results were fixed before you bet, were not chosen to suit us, and are the results that were paid. It does not cover the casino’s own wallet or balance; every round has an ID you can give the casino if something looks wrong.