Post
Topic
Board Gambling
Re: DiceVsDice.com BTC Gambling Site • #1 Player Vs Player BTC • Provably Fair
by
DiceVSDice.com
on 01/06/2017, 06:16:17 UTC
Without depositing or playing, it says:

"Your next roll hash: 1eeaac1b05a5.."

Can you tell me how that is possible? If it is player vs player, I would imagine the other player would also see some kind of roll hash.. but I guess a different one? (since I didn't even select any amount.) Basically I am looking for information about your provably fair implementation.

Normally P2P provably fair would work with hashed client seeds, where both first send their hashed client seeds and bets, then the unhashed client seeds to calculate the winner. AFAIK no serverseed is needed (nor possible with P2P.)

Hey,
Your next roll, no matter the lobby is predetermined and hashed.
You are shown the hashed version of your next roll.
Each time you play, a new roll and therefore its hash will be generated.
Each player will have a unique hash every game as the roll data is hashed with a salt.
After a game is complete, both players decoded hash is shown to both players to prove that it is fair.
So the 2 players that play against each other have a different roll? How is the roll calculated? Do you have a provably fair info page so it's easy to figure this out?

Either way I am sure it's not actually provably fair, but I first want to understand how you guys calculate the result Tongue

This game uses “roll hashes” to prove itself.

Roll hashes are how DiceVsDice proves that each player's roll is chosen before the game is played and are not tampered with. Hashes thus prove to the player that the game is fair.

When a new round is started, each players will play their next roll which has been predetermined and encoded. The decoded hash consists of the 2 dice rolls coupled with a random string generated by the server - this hash is encoded with SHA256. The result of the hash function is shown to you before you play a game.

Validating the fairness

After a game has been completed, the "dice1-dice2+random string" secret will be revealed. It is at this point you may validate that the SHA256 hash of the secret matches the hash that has been shown since the beginning of the round.
http://www.xorbin.com/tools/sha256-hash-calculato