Logo Moneypot
Bet #1266407765
General
User adventure92
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.32 litebits
Placed
Profits
User Profit -0.32 litebits
Investor Profit 0.3187188466 litebits
App Profit 0.0012811534 litebits
MoneyPot Profit 0.0006405767 litebits
House Edge 1.00%
Total Expected Value -0.32028836 litebits
Provably Fair
Client Seed 4118084421
Server Secret faac7830b9d88e64a441b9f63a8724fe7a7f12b20a8b093e78f2b5b47b13c2ce
Server Salt c95a438791d0ed1c149b4bca9a576220bbbabb7a2cd5b5a9738fa1c0527fe5d3
Server Hash 46671ddc2bc72ba1208a54d8d2a1fd8e3dac86c73e528182978a5ae910d48b9a
Raw Outcome 3868551376
Method SHA-256
Payouts
From To Value Probability Expected Value
3869769403 4294967295 3.20 litebits 9.8999% 0.31679712
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);