MoneyPot is closing.
Logo Moneypot
Bet #67154946
General
User Botro
App BTC Games 4U
Kind Simple_dice
Coin BTC
Wager 1,600.00 bits
Placed
Profits
User Profit 1,600.00 bits
Investor Profit -1,601.9999999553 bits
App Profit 1.9999999553 bits
MoneyPot Profit 0.0000000000 bits
House Edge 0.50%
Total Expected Value -799.99998212 bits
Provably Fair
Client Seed 2466502939
Server Secret b85c076e2dc57469f69d2f0b1a3d25edf15a33d6ab36c72fe23cf5babae09cf5
Server Salt a5a0cc9efbb0f95cb64a91de02a9580d8551c4f91d0d4ae65de7d4e6fa91198a
Server Hash 6d6a15337ebc3da1b8fc0165327e0ce894319d5dd53d2ef4db72f47d2d22c1fe
Raw Outcome 1588507460
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2136746230 3,200.00 bits 49.7500% 1,592.00000018
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);