Logo Moneypot
Bet #40382011
General
User CryptoCoins
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.72 litebits
Placed
Profits
User Profit -0.72 litebits
Investor Profit 0.7179992880 litebits
App Profit 0.0020007120 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.11%
Total Expected Value -0.80028482 litebits
Provably Fair
Client Seed 1359943991
Server Secret d5c380fd85787329109997a3dd8191c06606cf2900361a27b0b6ddaff59ba90a
Server Salt 3891b59f4724d3e0cf76ab96b4effab39aba16cdfed13a71922c4d247778b6a4
Server Hash f059150db2a6bb585fc0c54c8dace7c9fe63cf98217c1dbe332ae1103449915c
Raw Outcome 112641221
Method SHA-256
Payouts
From To Value Probability Expected Value
3435977272 4294967295 3.56 litebits 19.9999% 0.71279715
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);