Logo Moneypot
Bet #33428463
User toddgirard32
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin LTC
Wager 8.00 litebits
User Profit -8.00 litebits
Investor Profit 7.9567999996 litebits
App Profit 0.0288000003 litebits
MoneyPot Profit 0.0144000001 litebits
House Edge 0.90%
Total Expected Value -7.20000006 litebits
Provably Fair
Client Seed 2152454948
Server Secret 8c647a41107d6962181adf3486a386b0e67300a05c9ab5a1d1e149e19b898e01
Server Salt 31ecb3589609618063a50859b28dcf6c8d8d03b94bc56f1330b8be3672c5f69c
Server Hash 63db78f4c243e10de90d6c63ca0632c8afc214c39e5ae7a68882214376fd002f
Raw Outcome 1512378305
Method SHA-256
From To Value Probability Expected Value
2166811001 4294967296 16.00 litebits 49.5500% 7.92800000
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);