Logo Moneypot
Bet #34139628
General
User timace1978
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.25 litebits
Placed
Profits
User Profit -0.25 litebits
Investor Profit 0.2487858313 litebits
App Profit 0.0012141687 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.94%
Total Expected Value -0.48566750 litebits
Provably Fair
Client Seed 527828077
Server Secret 81526a24465ba7d2a62c3f5c8f3e92aa42a800b023ec4bf6c0d69725ccc567a9
Server Salt 785fa6c0bf8b1a51443af6d227bdf207cce9a6969a4a5cdf7549e1a9bd61b327
Server Hash 95b4f3f4ca95fb44b3e7bfcb63e987ad199f90088373fa799408c9fa14fc8d0a
Raw Outcome 726720349
Method SHA-256
Payouts
From To Value Probability Expected Value
1777134690 2789523918 0.53 litebits 23.5715% 0.12375050
3282582363 4294967296 0.53 litebits 23.5714% 0.12374997
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);