MoneyPot is closing.
Logo Moneypot
Bet #67146843
User fagot
App DiceBot
Kind Custom
Coin BTC
Wager 0.04 bits
User Profit -0.04 bits
Investor Profit 0.0397330297 bits
App Profit 0.0002669703 bits
MoneyPot Profit 0.0000000000 bits
House Edge 2.67%
Total Expected Value -0.10678811 bits
Provably Fair
Client Seed 1819176790
Server Secret 59ca72262dbd5e299f8db1f96ca32138daa76f11d1974e4bcee5b408182bf1ae
Server Salt 03c0fd9e979b71bd524045a130c5f0c7295df2e9f89d0c00ee090db92cee255c
Server Hash d4a1acc756c825aab3b5a3955b21d649a1d9a6049059b25cecd8ad2502f6ef0b
Raw Outcome 1407723308
Method SHA-256
From To Value Probability Expected Value
3914939619 4294967295 0.45 bits 8.8482% 0.03963998
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);