NOTICE: Flashcoin is now live on MoneyPot for wallet and gaming.
Logo Moneypot
Bet #2893869
User housework
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.17 litebits
User Profit -0.17 litebits
Investor Profit 0.1693197953 litebits
App Profit 0.0006802047 litebits
MoneyPot Profit 0.0003401023 litebits
House Edge 1.00%
Total Expected Value -0.17005117 litebits
Provably Fair
Client Seed 459819558
Server Secret 70bafe28eb1001b9d513ec06811dba6ff543ff09c6d72c4256e5c755a751a356
Server Salt bd63b89fed966a53ba99e52a1bb113412c1349ad7da76b1f0a8edc3a16bf34e2
Server Hash 5d34d529def63977e448999d7022a5ccb52283271dd5d4fb320e09fcc805e789
Raw Outcome 2285541460
Method SHA-256
From To Value Probability Expected Value
3231966121 4294967295 0.68 litebits 24.7499% 0.16829949
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);