MoneyPot is closing.
Logo Moneypot
Bet #67154923
User Botro
App BTC Games 4U
Kind Simple_dice
Coin BTC
Wager 800.00 bits
User Profit -800.00 bits
Investor Profit 799.0000000224 bits
App Profit 0.9999999776 bits
MoneyPot Profit 0.0000000000 bits
House Edge 0.50%
Total Expected Value -399.99999106 bits
Provably Fair
Client Seed 2077905740
Server Secret 80593846b27b5ad8624adc9c82928abbc99b015cb5b63dbd4a8cdf1886947fac
Server Salt 49c27cc934519e65fa6f68f1545a98225cc45d2e45b63dcde1bbb0068301e555
Server Hash c31fdae5fb4f8a6b4c15543988124af75dc111fd840297debba76d92868a6f25
Raw Outcome 3780895202
Method SHA-256
From To Value Probability Expected Value
0 2136746230 1,600.00 bits 49.7500% 796.00000009
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.

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

Javascript (cryptocoinjs / sha256)

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