ClassicDice verify
Input
Output
sha256(server_seed)
hmac_sha256(client_seed:nonce, server_seed)
Results
Final Result
hmac_sha256(client_seed:nonce, server_seed)
{{ item }}
{{ item }}
Bytes to Number
({{results.hex[0] + ', ' + results.hex[1] + ', ' + results.hex[2] + ', ' + results.hex[3]}}) -> [0, ... 4] =
{{Math.floor(numResult * 100.01 * 100) / 100}}
{{Number(results.hex[0] / 256).toFixed(9)}}
({{results.hex[0]}} / (256 ^ 1))
+
{{Number(results.hex[1] / (256 * 256)).toFixed(9)}}
({{results.hex[1]}} / (256 ^ 2))
+
{{Number(results.hex[2] / (256 * 256 * 256)).toFixed(9)}}
({{results.hex[2]}} / (256 ^ 3))
+
{{Number(results.hex[3] / (256 * 256 * 256 * 256)).toFixed(9)}}
({{results.hex[3]}} / (256 ^ 4))
=
{{numResult}}
(* 10001 / 100)
=
{{Number(numResult * 100.01).toFixed(9)}}