BC.GAMEآفیشل سائٹآفیشل
bc.game پر جائیںbc.game

Provably Fair

BC Originals کا ہر نتیجہ سرور سیڈ، کلائنٹ سیڈ اور nonce سے چیک کیا جا سکتا ہے۔ کوئی گیم منتخب کریں اور دیکھیں کہ اس کا نتیجہ کیسے نکالا جاتا ہے۔

Is HashDice a fair game?

We are a fair and transparent betting platform, aiming to eliminate all unfair factors and let players have fun, provides HashDice with provable and verified system that allows each game fair in encrypted way.

In order to allow players to verify their bets, a pair of Server Seed and Client Seed is used to calculate a roll number.

Knowing Server Seed, Client Seed and Nonce it's possible to calculate bet result. To prevent a player from result prediction, Server Seed is hidden, and a SHA-256 hash of the seed is shown instead. After next randomization, previous Server Seed is revealed and a player is able to verify the bet. Also, players can make sure that Server Seed wasn't changed by comparing their hashes before and after randomization.

How is the data calculated?

To generate a roll number between 0 and 99,999:

  1. First we calculate the hash value of the combination with HMAC_SHA512. This gives us a 64-character hexadecimal string: hash = HMAC_SHA512 (clientSeed:nonce, serverSeed).
  2. We then take the first 5 characters of that hash and convert them to a decimal number ranging from 0 to 1,048,575 (16 ^ 5 - 1). If it is less than 1 million, we divide it by 100,000 and use it as your roll outcome. Otherwise, we repeat using the next five characters. We are able to repeat the process up to 25 times.
  3. In the very rare case ((48,576 / 1,000,000) ^ 25) that none of the 25 trials are lower than 1 million when converted to decimal, we use the remaining 3 characters and convert them to your roll number.

Code Example

The following code example can be used to verify a bet:

function getRoll (serverSeed, clientSeed, nonce) {
  var hash = hmac_sha512(clientSeed:nonce, serverSeed);
  var index = 0;
  do {
 var lucky = parseInt(hash.substr(index, 5), 16);
 index += 5;
  } while (lucky >= 1000000);
  return lucky % 100000;
}

Please also check our online bet verify .

Tip: A new seed must be set to verify the previous data (the server seed is encrypted).

BC.GAME

bc.game پر کھیلیں۔ ہر چیز کی تصدیق bcgame.com پر کریں۔

BC.GAME کو Twocent Technology Limited (بیلیز، کمپنی نمبر 000041939) چلاتی ہے، جو Anjouan Gaming Authority سے لائسنس ALSI-202410011-FI1 کے تحت لائسنس یافتہ ہے۔ bcgame.com، BC.GAME کی آفیشل معلوماتی اور تصدیقی سائٹ ہے؛ یہ بیٹس، ڈپازٹس یا لاگ اِن قبول نہیں کرتی۔ 18+ · ذمہ داری سے کھیلیں۔