How Provably Fair Works

Every outcome on RollBox is generated through a transparent cryptographic process, and you can confirm it for yourself.

Before any roll happens, our server commits to a server seed by publishing its SHA-256 hash. Your client seed and a per-round nonce are then combined with that committed seed to produce the outcome. Once you rotate your seed pair, we reveal the original server seed so you can recompute every past round and confirm nothing was modified.

Because the hash is published first, we cannot adjust the server seed afterwards without breaking the hash check. This is the same commitment principle used across the industry, and it means honesty is enforceable, not just promised.

Box openings

When you open a mystery box, the roll is derived from three values: your client seed, our committed server seed, and a per-round nonce that increments with each open. The combination produces a roll number, which maps to an item in the box drop table based on each item’s chance range.

The full drop table is visible on every box page, so you can see exactly what range maps to which item. After you rotate your seed pair in Game Verification, all previous server seeds become visible and every past round can be recomputed.

Deals

Deals use the same seed-pair commitment as box openings. The chance you pick (between 1 and 80) directly defines the size of the winning roll range. At 50, roughly half of all roll values win; at 10, roughly one in ten.

The relationship between chance and roll range is fixed and identical for every user. There is no adjustment per session or per account. Every deal round is recorded with its nonce and can be reproduced from your seed pair after rotation.

Upgrade

Upgrades follow the same cryptographic path. The multiplier you choose determines the winning roll window: about 45 percent of values for a 2× multiplier and about 9 percent for a 10×. In every case the window is the multiplier’s inverse reduced by the platform’s fixed 10 percent edge.

Every upgrade attempt is logged with the same seed pair, nonce, and roll value as box openings. Once your server seed is revealed, you can independently recompute the outcome of any past upgrade.

Independent verification

Once your server seed is revealed (after a rotation), you can recompute any historical roll yourself. The code below is the exact algorithm our servers use. Paste it into your browser console to reproduce any round.

Reference implementation: Web Crypto (runs in your browser)
async function computeRoll(serverSeed, clientSeed, nonce) {
  const enc = new TextEncoder();
  const key = await crypto.subtle.importKey(
    'raw', enc.encode(serverSeed),
    { name: 'HMAC', hash: 'SHA-256' }, false, ['sign']);
  const sig = await crypto.subtle.sign(
    'HMAC', key, enc.encode(`BOXES-${clientSeed}-${nonce}`));
  const hex = [...new Uint8Array(sig)]
    .map(b => b.toString(16).padStart(2, '0')).join('');
  const value = BigInt('0x' + hex.slice(0, 13));   // first 13 hex = 52 bits
  return Number((value * 99999999n) >> 52n);        // multiply-shift, not modulo
}

This is the exact production algorithm. The server seed is the HMAC key (never part of the message), the roll uses the first 13 hex characters (52 bits) and a multiply-shift, not a modulo. The authoritative verification tool is in Account → Game Verification.