DiceBet Roll Verifier

Input

Output

{{`Server Seed: ${serverSeed}`}}
{{`Calculated hash of Server Seed: ${sha512(serverSeed)}`}}
{{`Provided hash of Server Seed: ${serverSeedHash}`}}
{{`Hashes match: ${sha512(serverSeed) === serverSeedHash}`}}
{{`Client Seed: ${clientSeed}`}}
{{`Nonce: ${nonce}`}}
{{`Result of HMAC-SHA512('${nonce}:${serverSeed}:${nonce}', '${nonce}:${clientSeed}:${nonce}')`}}

                
(Pick the first 5 character set that yields a number 0 <= n <= 999999)
{{`parseInt(${hashToRoll(hash()).chunk}, 16) = ${hashToRoll(hash()).roll}`}}

Roll: {{(hashToRoll(hash()).roll/10000).toFixed(4)}}

{{sha512(serverSeed) === serverSeedHash ? 'Server seed matches' : 'Server seed does not match'}}

Donations: bc1qu98c35yv8j5jzryuk654r2zv8jk2xknuuqa5l73M2Gg47EEaGxtRGXHXa2362emEvQYhXt39GitHub Source

This project uses the third-party libraries Vue.js and Forge