MoneyPot is closing.
Logo Moneypot
Bet #67146647
User fagot
App DiceBot
Kind Custom
Coin BTC
Wager 2.70 bits
User Profit -2.70 bits
Investor Profit 2.6929435877 bits
App Profit 0.0070564123 bits
MoneyPot Profit 0.0000000000 bits
House Edge 1.05%
Total Expected Value -2.82256491 bits
Provably Fair
Client Seed 775249262
Server Secret 2701be89289f13219ce109f30f00fad1c61a9bcdf894ea2f10ad79273701a087
Server Salt 5d03122690795ca2fc872044946c45e265c1558b31d7d32a7ca2319478758112
Server Hash 579f587fd371e96cfab06b504d82a18520a4d05783430a7997862e78b0bee3b4
Raw Outcome 1861295918
Method SHA-256
From To Value Probability Expected Value
2419937318 4294967295 6.13 bits 43.6564% 2.67570343
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);