Logo Moneypot
Bet #40382001
General
User CryptoCoins
App Bit-Exo
Kind Custom
Coin LTC
Wager 2.23 litebits
Placed
Profits
User Profit 8.80 litebits
Investor Profit -8.8060022061 litebits
App Profit 0.0060022061 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.08%
Total Expected Value -2.40088246 litebits
Provably Fair
Client Seed 3388055705
Server Secret f295ff2504f24dfe4615ba7451ffab1827a50f0d56e5d6b41a723a97adbf4af6
Server Salt 8949287fe124eddfd29a0e145ffbf6f7746572958ac29da3cb653f1db1726094
Server Hash b56638d9bde1d6bc08d69c8d97b257840d02f83f1ce0173364d5ebd4bd4a8a41
Raw Outcome 3743344239
Method SHA-256
Payouts
From To Value Probability Expected Value
3435977272 4294967295 11.04 litebits 19.9999% 2.20769117
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);