MoneyPot is closing.
Logo Moneypot
Bet #66490444
User rmcdermott927
Kind Simple_dice
Coin BTC
Wager 10.00 bits
User Profit -10.00 bits
Investor Profit 9.9774997366 bits
App Profit 0.0225002634 bits
MoneyPot Profit 0.0000000000 bits
House Edge 0.90%
Total Expected Value -9.00010537 bits
Provably Fair
Client Seed 975195225
Server Secret 65c1d5ba61b53bfef770c665b3ade4c1598d9198e7e75ac9cca12aa224c990a0
Server Salt c65f5b6cb0fff54839a40940465c3915c70de7700360168e6b3c1d617fffb777
Server Hash 9a30c710feaf49bf4bde9cbc8cf4816cfc69a643fba61e8f9c375284c02095c8
Raw Outcome 3224843581
Method SHA-256
From To Value Probability Expected Value
0 42520176 1,001.01 bits 0.9900% 9.90999895
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);