Logo Moneypot
Bet #34139609
General
User timace1978
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.50 litebits
Placed
Profits
User Profit 0.55 litebits
Investor Profit -0.5512497638 litebits
App Profit 0.0012497638 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -0.49990550 litebits
Provably Fair
Client Seed 527828077
Server Secret 16d34751ddcb57dcd2159d391867709c88af1c34d5e00bed76c410be48ef8ae2
Server Salt b466b27fe220d99914cc7ab30e11ad378749ab3ae403533ccadc088667f6aed4
Server Hash 64a495c2942fa1bfd8083c8a47770b61c7dc5ed0841bb32481f17f75d76e197d
Raw Outcome 2556125370
Method SHA-256
Payouts
From To Value Probability Expected Value
2270197428 3282586657 1.05 litebits 23.5715% 0.24750100
3282582363 4294967296 1.05 litebits 23.5714% 0.24749995
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);