MoneyPot is closing.
Logo Moneypot
Bet #67154921
General
User Botro
App BTC Games 4U
Kind Simple_dice
Coin BTC
Wager 200.00 bits
Placed
Profits
User Profit -200.00 bits
Investor Profit 199.7500000056 bits
App Profit 0.2499999944 bits
MoneyPot Profit 0.0000000000 bits
House Edge 0.50%
Total Expected Value -99.99999776 bits
Provably Fair
Client Seed 3133636650
Server Secret 76241d94844848372af9eeeda0f861dc850208cef5d754ffa3c927dbad44dacc
Server Salt e84c26d5c910abfdf839bf7efa8f091ec55e59b8c8c26a93b3d239f11d4599d8
Server Hash 03b0cb1c692549a3437d2745c93ee688c65a7c940df5c81a39172484cd705707
Raw Outcome 2233639368
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2136746230 400.00 bits 49.7500% 199.00000002
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);