Logo Moneypot
Bet #1246640349
General
User vuiltje
App Bit-Exo
Kind Custom
Coin BTC
Wager 24.22 bits
Placed
Profits
User Profit -24.22 bits
Investor Profit 24.1222668188 bits
App Profit 0.0977331812 bits
MoneyPot Profit 0.0488665906 bits
House Edge 1.01%
Total Expected Value -24.43329530 bits
Provably Fair
Client Seed 1265931520
Server Secret fcb57d4dd3793594c7cd21e8f3297b30c5c31f25146035144de3558dd4880497
Server Salt 5a4b97a7195fe68d6453d2f046d278e31b5b47fb7357aa6abf7c4e2f5145fb89
Server Hash 79e38b76a025c4586bf3ae0023e1b99e99a9cb4f526b03333823626642cb8f59
Raw Outcome 1836614028
Method SHA-256
Payouts
From To Value Probability Expected Value
2190006014 4294967295 48.92 bits 49.0099% 23.97782348
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);