MoneyPot is closing.
Logo Moneypot
Bet #66490422
General
User czajalwa
App DiceBot
Kind Custom
Coin BTC
Wager 5.94 bits
Placed
Profits
User Profit -5.94 bits
Investor Profit 5.9266364728 bits
App Profit 0.0133635272 bits
MoneyPot Profit 0.0000000000 bits
House Edge 0.90%
Total Expected Value -5.34541088 bits
Provably Fair
Client Seed 751725740
Server Secret db77819c4405a3b8fd7f209744c27af5bde3e54b110ea4624b58b05ac0258d76
Server Salt 365a23f784abd0e3f2e0c110cc4d1a1373eafc5f8770576d142fc0e54c703ce2
Server Hash 88a8c0dd48427710e2f5993dba776f8bee670ff9530494403132610ef3215d98
Raw Outcome 1232038622
Method SHA-256
Payouts
From To Value Probability Expected Value
0 170252674 148.50 bits 3.9640% 5.88654589
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);