TKEX LAB

← 回到意念實驗室Back to TKEX LAB

公開驗證:骰子有沒有被動手腳?Public verification: were the dice rigged?

比七大小的每一擲,都來自 drand 公開隨機數:由全球多個機構(League of Entropy)共同產生、每 3 秒公布一次。伺服器在收到你的請求之後,才去等「下一輪」的隨機數,所以按下之前沒有人(包括我們)知道結果。這一頁會在你的瀏覽器裡重算骰子,並直接向 drand 查詢那一輪的數字來比對。Every Beat-the-Seven throw comes from drand public randomness, produced jointly by organizations worldwide (the League of Entropy) and published every 3 seconds. The server waits for the next round only after it receives your request, so nobody — including us — knows the result before you press. This page recomputes the dice in your browser and fetches that round directly from drand to compare.

查詢某一擲Check a throw

最近 100 擲Latest 100 throws

只顯示匿名代號。點編號就能驗證。Anonymous aliases only. Click a number to verify it.

#時間Time代號Alias國家Country目標Target加總Total結果Resultdrand 輪次drand round
…

算法:骰子 = 對 SHA-256(randomness + ":" + nonce + ":" + 擲的代碼 + ":exp") 的位元組依序取值,只取小於 252 的位元組,取 (b mod 6) + 1,取滿兩顆為止;不夠用時再對雜湊結果做一次 SHA-256 接著取。對照組把結尾的 exp 換成 ctl。nonce 是你的瀏覽器每擲隨機產生後送出的。限制:這裡比對的是 drand 公開 API 回傳的數字;drand 本身的 BLS 簽章可以用 drand 官方工具另外檢查。Algorithm: walk the bytes of SHA-256(randomness + ":" + nonce + ":" + throw id + ":exp"), keep only bytes below 252, take (b mod 6) + 1 until two dice are drawn; if bytes run out, hash the digest again and continue. The control group uses "ctl" instead of "exp". The nonce is generated by your browser for every throw. Limitation: this page compares against the number returned by drand's public API; drand's BLS signature itself can be checked with drand's official tools.