MoneyPot is closing.
Logo Moneypot
Bet #67153860
User cycy1218cycy
App DiceBot
Kind Custom
Coin BTC
Wager 0.24 bits
User Profit -0.24 bits
Investor Profit 0.2385000585 bits
App Profit 0.0014999415 bits
MoneyPot Profit 0.0000000000 bits
House Edge 2.50%
Total Expected Value -0.59997661 bits
Provably Fair
Client Seed 1280746116
Server Secret 40587b677c1df7503f6babf5dff6c403beb5f2a85f803005ccd2cf8a15c3da30
Server Salt 7510a3af41742b4f9cca9ce47b83d72e8c955cf74025cf499d1aea2111cb20b9
Server Hash c414272758dc56b4434c5cf92ee199de3757e3bc88a8fe211019b3cf77af7cd0
Raw Outcome 4112378124
Method SHA-256
From To Value Probability Expected Value
0 3865474431 0.26 bits 90.0001% 0.23784024
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);