Provably Fair
Every BC Originals result can be checked with the server seed, the client seed and the nonce. Pick a game to see how its result is calculated.
Baccarat
ValidateSolving the Trust Issue with Online Gambling
The underlying concept of provable fairness is that players have the ability to prove and verify that their results are fair and unmanipulated. This is achieved through the use of a commitment scheme, along with cryptographic hashing.
The commitment scheme is used to ensure that the player has an influence on all results generated. Cryptographic hashing is used to ensure that the casino also remains honest to this commitment scheme. Both concepts combined creates a trust-less environment when gambling online.
This is simplified in the following representation:
Hex string: hash = HMAC_SHA256(clientSeed:nonce, serverSeed:i)
Dealing logic:
- Create a shoe of 2 decks (104 cards). Each deck is sequenced as spade A-K, heart A-K, club A-K and diamond A-K, and the second deck follows the first.
- To deal card i (i starts from 0), calculate the hash with the formula above.
- Convert the hash to a number between 0 and 1: take the first 15 characters as a hexadecimal number, and use its remainder divided by 47 as the start position. Read 14 characters from that position as a hexadecimal number, shift it right by 3 bits, and multiply it by 2^-53.
- Multiply this number by the number of cards left in the shoe and round it down. The result is the position of the dealt card in the remaining shoe. Remove that card from the shoe.
- Repeat steps 2 to 4 to deal up to 6 cards. Cards 1 to 4 go to Player, Banker, Player and Banker in turn. Third cards are drawn from card 5 onwards, in order, according to the standard baccarat drawing rules.
Note: A new seed must be set to verify the previous data (the server seed is encrypted)