Logo Moneypot
Bet #53077423
General
User andrew25000000
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin LTC
Wager 0.04 litebits
Placed
Profits
User Profit -0.04 litebits
Investor Profit 0.0395000000 litebits
App Profit 0.0005000000 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 5.00%
Total Expected Value -0.20000000 litebits
Provably Fair
Client Seed 3110468640
Server Secret 23c27fd1af1e497a0feb6ec4b84705ba6a86da8014da766e20d1d28256e8ffba
Server Salt 7fa4671890fd3d759c82b80f788807833fcb95113585e5f95ffacbae944d298c
Server Hash 571d59aef9ac97aa184178ebeb3bf88d76fc7a18689c78a8d36f448b4f9d202b
Raw Outcome 3672762018
Method SHA-256
Payouts
From To Value Probability Expected Value
0 858993459 0.19 litebits 20.0000% 0.03800000
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);