Logo Moneypot
Bet #364584
User shogunroller
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin BTC
Wager 1,560.68 bits
User Profit -1,560.68 bits
Investor Profit 1,555.0615519512 bits
App Profit 5.6184480488 bits
MoneyPot Profit 2.8092240244 bits
House Edge 0.90%
Total Expected Value -1,404.61201221 bits
Provably Fair
Client Seed 3620641564
Server Secret e15f7e814b1b5cb4d22f2e0fb6be96a2d5257eecad60d3a0d761a5fb8b3329f5
Server Salt da515bb4d3322c953445166020b4564f4cba786b0927dfe41f68d90432de23ef
Server Hash 4d2f925c3ea5c0b2512fb220561b1063e4cab3949d5cde70b54a7a7e4acf786d
Raw Outcome 1864625046
Method SHA-256
From To Value Probability Expected Value
2166811001 4294967296 3,121.36 bits 49.5500% 1,546.63387988
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);