Logo Moneypot
Bet #13404639
User shogunroller
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin BTC
Wager 1.28 bits
User Profit -1.28 bits
Investor Profit 1.2753920000 bits
App Profit 0.0046080000 bits
MoneyPot Profit 0.0023040000 bits
House Edge 0.90%
Total Expected Value -1.15200001 bits
Provably Fair
Client Seed 3631009816
Server Secret 0ffd8448b4ecd8757217382d8f78164270c3a803932821944a92592dd593378a
Server Salt f9233040fcee9f152814ec2fd831b8b3e71a5ee75b3c709b3c2b9373d35ae479
Server Hash 779de490b0f09fecb71e1d62ff778827a1a54dfd3e2ffc9b0226c9cca4577476
Raw Outcome 448904482
Method SHA-256
From To Value Probability Expected Value
2166811001 4294967296 2.56 bits 49.5500% 1.26848000
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);