跳到内容
loading
Product Img 娱乐城 Product Img 体育

可证明的公平

概述实施转换游戏事件取消服务器种子散列计算

Random Number Generation

For each verifiable bet, a client seed, a server seed, a nonce and a cursor are used as the input parameters for the random number generation function. This function utilises the cryptographic hash function HMAC_SHA256 to generate bytes which are then used as the foundation for how we generate provably fair random outcomes on our platform.

      // Random number generation based on following inputs: serverSeed, clientSeed, nonce and cursor
function byteGenerator({ serverSeed, clientSeed, nonce, cursor }) {
  // Setup curser variables
  let currentRound = Math.floor(cursor / 32);
  let currentRoundCursor = cursor;
  currentRoundCursor -= currentRound * 32;

  // Generate outputs until cursor requirement fullfilled
  while (true) {
    // HMAC function used to output provided inputs into bytes
    const hmac = createHmac('sha256', serverSeed);
    hmac.update(`${clientSeed}:${nonce}:${currentRound}`);
    const buffer = hmac.digest();

    // Update curser for next iteration of loop
    while (currentRoundCursor < 32) {
      yield Number(buffer[currentRoundCursor]);
      currentRoundCursor += 1;
    }
    currentRoundCursor = 0;
    currentRound += 1;
  }
}
    

Server Seed

The server seed is generated by our system as a random 64-character hex string. You are then provided with an encrypted hash of that generated server seed before you place any bets. The reason we provide you with the encrypted form of the server seed is to ensure that the un-hashed server seed cannot be changed by the casino operator, and that the player cannot calculate the results beforehand.

To reveal the server seed from its hashed version, the seed must be rotated by the player, which triggers the replacement with a newly generated one.

From this point you are able to verify that the hashed server seed matches that of the un-hashed server seed. This process can be verified via our un-hashed server seed function found in the menu above.

Client Seed

The client seed belongs to the player and is used to ensure they have influence on the randomness of the outcomes generated. Without this component of the algorithm, the server seed alone would have complete leverage over the outcome of each bet.

All players are free to edit and change their client seed regularly to create a new chain of random upcoming outcomes. This ensures the player has absolute control over the generation of the result, similar to cutting the deck at a brick and mortar casino.

During registration, a client seed is created for you by your browser, to ensure your initial experience with the site goes uninterrupted. Whilst this randomly generated client seed is considered suitable, we highly recommend that you choose your own, so that your influence is included in the randomness.

You can do this via the fairness modal.

Nonce

The nonce is simply a number that increments as every new bet is made. Due to the nature of the SHA256 cryptographic function, this creates a completely new result each time, without having to generate a new client seed and server seed.

The implementation of nonce, ensures we remain committed to your client seed and server seed pair, whilst generating new results for each bet placed.

Cursor (Incremental Number)

We use 4 bytes of data to generate a single game result, and because SHA256 is limited to 32 bytes, we utilise this implementation of a cursor to give us the ability to create more game events without having to modify our provable fair algorithm.

The cursor is only iterated over when the game being played requires the generation of more than 8 (32 bytes / 4 bytes) possible outcomes. For example: when we need to use more than 8 cards in a game of blackjack.

The cursor starts as 0 and gets increased by 1 every time the 32 bytes are returned by the HMAC_SHA256 function. If we don’t require more than 8 random numbers to be generated for the game events, then the curser does not increment as there is no need to generate any additional possible game outcomes.

Games with more than 1 incremental number:

  • Hilo (Unlimited to cover required amount of cards)
  • Keno (2 increments for every game due to 10 possible outcomes)
  • Mines (3 increments per game for 24 possible bomb locations)
  • Pump (3 increments per game for 24 possible pop chances)
  • Plinko (2 increments per game to cover possible 16 decisions)
  • Blackjack (Unlimited to cover required amount of cards)
  • Video Poker (7 increments to generate 52 possible cards in a full deck)
  • Snakes (2 increments for every game due to 10 total dice rolls)
  • Slots (The incremental number is only utilised for bonus rounds)
  • Flip (3 increments per game for 20 flips)
  • Rock Paper Scissors (Unlimited to cover required amount of cards and 3 increments per autobet game to cover 20 max cards)
  • Bars (4 increments per game for 30 bars)

Games with only 1 incremental number (represented as default value 0):

  • Dice
  • Limbo
  • Wheel
  • Baccarat
  • Roulette
  • Diamonds
  • Cases
  • Darts

娱乐城

  • 赌场游戏
  • 老虎机
  • 真人赌场
  • Roulette
  • Blackjack
  • 扑克
  • 游戏提供商
  • 促销和比赛
  • 木桩引擎

体育

  • 体育博彩
  • 体育滚球赛事
  • 足球
  • 篮球
  • 网球
  • 电子竞技
  • 投注奖金
  • 体育博彩规则
  • 赛事规则

支持

  • 帮助中心
  • 公平性
  • 賭博幫助專線
  • 自我排除
  • 执法请求

关于我们

  • VIP 俱乐部
  • 联盟计划
  • 隐私政策
  • 反洗钱政策
  • 服务条款

付款信息

  • 存款和取款
  • 货币指南
  • 加密货币指南
  • 支持的加密货币
  • 如何使用保险库
  • 下注多少

常问问题

  • 操作指南
  • 在线赌场指南
  • 体育博彩指南
  • 如何直播体育赛事
  • Stake VIP 指南
  • 庄家优势指南
  • 博客
  • 论坛
  • Facebook
  • x.com (推特)
  • Instagram
  • YouTube
  • 网购
  • Primedice
© 2025 Stake.com | 版权所有

Stake 由 Medium Rare N.V. 所属和经营,注册编号: 145353,注册地址: Seru Loraweg 17 B, Curaçao。请通过 support@stake.com 与我们联系。 支付代理公司是 Medium Rare Limited,地址于 7-9 Riga Feraiou, LIZANTIA COURT, Office 310, Agioi Omologites, 1087 Nicosia, Cyprus 以及注册号:HE 410775

Stake 致力于负责任的赌博,欲了解更多信息,请访问 Gamblingtherapy.org

1 BTC = $0.00

投注单为空 立即开始下注!
总投注额
$0.00
预计支付额
$0.00
🍪 我们将cookie用于功能和分析目的。