Logo Moneypot
Bet #33428479
General
User toddgirard32
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin LTC
Wager 2.00 litebits
Placed
Profits
User Profit -2.00 litebits
Investor Profit 1.9891999999 litebits
App Profit 0.0072000001 litebits
MoneyPot Profit 0.0036000000 litebits
House Edge 0.90%
Total Expected Value -1.80000002 litebits
Provably Fair
Client Seed 2198700110
Server Secret 0a0dc50a94cee325a20f1f64e3440e7caea9f1765478b944a29b1f722349e6c4
Server Salt 2c2a4a68faf8af60510cc53f4a6f7063047308d0cc5d4244d19fdf4d0b35db27
Server Hash 3c5f517437cb5b4cca2da1cc3945b1fe549afd1618868a0fdfd1467e0d182925
Raw Outcome 10910813
Method SHA-256
Payouts
From To Value Probability Expected Value
2166811001 4294967296 4.00 litebits 49.5500% 1.98200000
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.

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

Javascript (cryptocoinjs / sha256)

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