Logo Moneypot
Bet #40381999
General
User CryptoCoins
App Bit-Exo
Kind Custom
Coin LTC
Wager 1.78 litebits
Placed
Profits
User Profit -1.78 litebits
Investor Profit 1.7754982379 litebits
App Profit 0.0045017621 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.01%
Total Expected Value -1.80070485 litebits
Provably Fair
Client Seed 2098782062
Server Secret 9ca0d29305f89b6c8415b98ed04772d5090819af3c0bd3bfee737886909c7f8a
Server Salt 414cd77162aa612c33dbaccf1e6f0cb3466a166f2e3a234b669619ca591f96cd
Server Hash 39881d2cde2f76574831302e22a27f203f69795c1a640960b0169475a3c3202d
Raw Outcome 1112003851
Method SHA-256
Payouts
From To Value Probability Expected Value
3435977272 4294967295 8.81 litebits 19.9999% 1.76219295
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);