Logo Moneypot
Bet #363629
User shogunroller
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin BTC
Wager 8.00 bits
User Profit -8.00 bits
Investor Profit 7.9711999997 bits
App Profit 0.0288000003 bits
MoneyPot Profit 0.0144000001 bits
House Edge 0.90%
Total Expected Value -7.20000006 bits
Provably Fair
Client Seed 3620641564
Server Secret d83d5756ea366d5cfb181ab80aa415f0b0d4cf26814ec2a934da20d9cdae86a6
Server Salt fcd03b00de06cb9b7a6870be83f908f6990efdd25dcb51a7fa55dbb2cc690b94
Server Hash 103b35ce490178bbe19660ef0abb33db0f053a1a777ffbef6eafc42248163052
Raw Outcome 551872912
Method SHA-256
From To Value Probability Expected Value
2166811001 4294967296 16.00 bits 49.5500% 7.92800000
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);