Logo Moneypot
Bet #33428399
General
User toddgirard32
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin LTC
Wager 4.00 litebits
Placed
Profits
User Profit 4.00 litebits
Investor Profit -4.0216000002 litebits
App Profit 0.0144000001 litebits
MoneyPot Profit 0.0072000001 litebits
House Edge 0.90%
Total Expected Value -3.60000003 litebits
Provably Fair
Client Seed 1603227296
Server Secret c79df9a512f60a3fefb9c6ace337219cd6632354d7a5c5e6ca386e22630293e0
Server Salt fc86bea74636c69de13ac7616b11bba98be152be51c876e63b3197c735a56c3f
Server Hash 0fd09b2abff1af8e220bc7b2c92290b10ecaaa55086e4488e342fd3831060d93
Raw Outcome 1739981286
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2128156295 8.00 litebits 49.5500% 3.96400000
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);