Logo Moneypot
Bet #13404651
General
User shogunroller
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin BTC
Wager 40.96 bits
Placed
Profits
User Profit -40.96 bits
Investor Profit 40.8125439987 bits
App Profit 0.1474560013 bits
MoneyPot Profit 0.0737280006 bits
House Edge 0.90%
Total Expected Value -36.86400032 bits
Provably Fair
Client Seed 3631009816
Server Secret 5e5c38645303010c497a5ec41e0c6626fcaad518e69561ffa8c8f5d0d5c382a5
Server Salt 3289f079370b8da1c442839ac301950b4d327fec68d16eed3ca07649f4745687
Server Hash 597ba718a4bd45396deb1e71c89c56afa74b0429beb8e4ebab15c98beb8ef983
Raw Outcome 22284642
Method SHA-256
Payouts
From To Value Probability Expected Value
2166811001 4294967296 81.92 bits 49.5500% 40.59136000
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);