Logo Moneypot
Bet #61228313
General
User dismass
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin BTC
Wager 7.81 bits
Placed
Profits
User Profit 11.07 bits
Investor Profit -11.0877719996 bits
App Profit 0.0177719996 bits
MoneyPot Profit 0.0000000000 bits
House Edge 0.91%
Total Expected Value -7.10879984 bits
Provably Fair
Client Seed 3575873032
Server Secret 2f51b09f6ec35f22bbd0d957ae5e66f394768e95584ae5f813c3f0ce908566b9
Server Salt b50a66c42046e648c0b88e4e5e6249cafaf5915feba8139392cb3782b3aa6251
Server Hash a22d41c42e8889e00987089ecd3e89ef325e9b28f96df4af7d7cd6cb9aa4e87f
Raw Outcome 2657108343
Method SHA-256
Payouts
From To Value Probability Expected Value
2534460201 4294967296 18.88 bits 40.9900% 7.73891200
Provably Fair Outcome

MoneyPot uses a Provably Fair algorithm that calculates raw outcomes from generated SHA-256 hashes. The Bet Hash is generated from the resulting hash of two unique hashes, the Server Seed and the Server Salt. The Server Seed and the Server Salt are both unique 64 character strings.

The Raw Outcome is based on a combination of the Server Seed and the Client Seed. After both are hashed together with SHA-256, we trim the resulting hash of the two to the first eight characters and then converted to an integer using Base16.

PHP 7
$outcome = intval(substr(hash('sha256', $serverSeed . $clientSeed), 0, 8), 16);

Javascript (cryptocoinjs / sha256)

var output = Number.parseInt(sha256(serverSeed + clientSeed).slice(0, 8), 16);