Logo Moneypot
Bet #1246640336
User vuiltje
App Bit-Exo
Kind Custom
Coin BTC
Wager 48.16 bits
User Profit -48.16 bits
Investor Profit 47.9667513518 bits
App Profit 0.1932486482 bits
MoneyPot Profit 0.0966243241 bits
House Edge 1.00%
Total Expected Value -48.31216204 bits
Provably Fair
Client Seed 3171108264
Server Secret 894137795ed13224a973ce71167ed56b56d5311ef0ecd696e700f9b203ad2e0f
Server Salt c732721928f9ebfa0284e178a8642a2a0f7dd81919f3c6489df5014bafc7bdaf
Server Hash d3b54b44310416593142cdf1e43c9510b8fdb23d589bce2184f64b852f3e184a
Raw Outcome 2196014121
Method SHA-256
From To Value Probability Expected Value
0 2104961281 97.28 bits 49.0099% 47.67844670
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.

$outcome = intval(substr(hash('sha256', $serverSeed . $clientSeed), 0, 8), 16);

Javascript (cryptocoinjs / sha256)

var output = Number.parseInt(sha256(serverSeed + clientSeed).slice(0, 8), 16);