Logo Moneypot
Bet #43940296
General
User dismass
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin BTC
Wager 2.57 bits
Placed
Profits
User Profit 0.57 bits
Investor Profit -0.5768854999 bits
App Profit 0.0068854999 bits
MoneyPot Profit 0.0000000000 bits
House Edge 1.07%
Total Expected Value -2.75419997 bits
Provably Fair
Client Seed 1674930540
Server Secret 0739560ee0029de7f0fb736043f16aad0b41a2a27e52fa4dd3a2f878948a8cdb
Server Salt bdc707579a20d647f81f7c81c15e55d7987f2d498f8d2d74dc1f0386f8283da5
Server Hash a59063eac4f571221d710b802bc09ba144088b62d8305871368a6b84d80ddd0d
Raw Outcome 2606388690
Method SHA-256
Payouts
From To Value Probability Expected Value
0 3477635020 3.14 bits 80.9700% 2.54245800
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);