Logo Moneypot
Bet #3581885
General
User ttt222
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.04 litebits
Placed
Profits
User Profit -0.04 litebits
Investor Profit 0.0393663514 litebits
App Profit 0.0006336486 litebits
MoneyPot Profit 0.0003168243 litebits
House Edge 3.96%
Total Expected Value -0.15841216 litebits
Provably Fair
Client Seed 2978704376
Server Secret 1192c375bd7bc9616333c724e1119f95f5d7b0044213b138837370eed59b1a33
Server Salt 7b4792abb8bcac6152c2267984c666db8edad8b8770103e7bc9451ed13080c2e
Server Hash 4770917dbb97dfe83bb996cbd403fb7eb0d2415be414035c940c40eaf074cba3
Raw Outcome 2730248518
Method SHA-256
Payouts
From To Value Probability Expected Value
3263748911 4294967295 0.16 litebits 24.0099% 0.03959981
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);