NOTICE: Flashcoin is now live on MoneyPot for wallet and gaming.
Logo Moneypot
Bet #3581889
User ttt222
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.04 litebits
User Profit 0.12 litebits
Investor Profit -0.1206336486 litebits
App Profit 0.0006336486 litebits
MoneyPot Profit 0.0003168243 litebits
House Edge 3.96%
Total Expected Value -0.15841216 litebits
Provably Fair
Client Seed 3018825114
Server Secret ac7564db3f125b37cee58fd3944273457dc9918a04ed2203fe9fa9574152199f
Server Salt 9e07ee3c6afcbe3b67e110994bb0dc8fd3da98332532f92f2046ab500be29067
Server Hash 61a52511972b1f55b54a8cc1e09abf6b06f443bb47d118a2cf3847e44ce7a1ef
Raw Outcome 3680951467
Method SHA-256
From To Value Probability Expected Value
3263748911 4294967295 0.16 litebits 24.0099% 0.03959981
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);