MoneyPot is closing.
Logo Moneypot
Bet #67146844
User fagot
App DiceBot
Kind Custom
Coin BTC
Wager 0.04 bits
User Profit -0.04 bits
Investor Profit 0.0397330297 bits
App Profit 0.0002669703 bits
MoneyPot Profit 0.0000000000 bits
House Edge 2.67%
Total Expected Value -0.10678811 bits
Provably Fair
Client Seed 1819176790
Server Secret 39779ac87fc73c8917508acad6e4ca74d9c945f0b9824d8ccd4b70fef27f4d23
Server Salt 9fbe6279983500a5941dcb25a7f390928e62bf81b3e68a4558d36d4005ddd642
Server Hash e44b6c89d8d066910ca1bf5baef9bbe8a190da2b4c08bb16178815ebb4c2873a
Raw Outcome 1990812572
Method SHA-256
From To Value Probability Expected Value
3914939619 4294967295 0.45 bits 8.8482% 0.03963998
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);