Post
Topic
Board Gambling
Re: BETCOIN.AG- DICE IS BACK!- #1 Casino, Sportsbook est. 2013- BTC,ETH,XRP,LTC,XMR
by
TwitchySeal
on 04/07/2020, 19:04:18 UTC
I don't think

Since they seem to use a unique approach to provably fair (it would have been much nicer if they just copied the standard nonce based method instead of trying to reinvent the wheel), I wrote a open source, and truly independent verifier that players can use if they want using purely client side JS. Here's an example of a verified bet.

Nice work.   How did you figure out that this is what they're doing to HMac256(server, client)? 

Code:
let hash = CryptoJS.HmacSHA256(serverSeed, clientSeed).toString();
    let PRNGSeed = parseInt(`0x${hash.substr(hash.length - 8)}`);
    mt.srand(PRNGSeed);
    document.getElementById("resultBox").className = "card mt-3 bg-success"
    document.getElementById("resultText").innerHTML = `Roll: ${mt.rand(0, 10000)}`;

(Not familiar with the JSMTRand package)