MoneyPot is closing.
Logo Moneypot
Bet #67154913
General
User Botro
App BTC Games 4U
Kind Simple_dice
Coin BTC
Wager 200.00 bits
Placed
Profits
User Profit -200.00 bits
Investor Profit 199.7500000056 bits
App Profit 0.2499999944 bits
MoneyPot Profit 0.0000000000 bits
House Edge 0.50%
Total Expected Value -99.99999776 bits
Provably Fair
Client Seed 887091911
Server Secret 90947cc0b2e7ad3350c325d7f79bef545b5ac5fba59735c49552b78599eaffc7
Server Salt aa4016f15c988828e317046eefce01891e496e9e7713f2af38dbb1c0db978a82
Server Hash a1e32fed4e896a79db07e2dc584b2679d62d4e9b237e062e838810ecdf0f58a3
Raw Outcome 781725153
Method SHA-256
Payouts
From To Value Probability Expected Value
2158221066 4294967296 400.00 bits 49.7500% 199.00000002
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);