@dooglus that code is no where near working. I tried a few different rolls, and they were all computed wrong.
That means either every roll on PD is not provably fair (unlikely) or the JS is wrong (much more likely).
I think you might be using it wrong - it works for me (although it's annoying that it will only verify one roll at a time).
I made some bets to test it out, then revealed my server seed:
- snip -
Sorry, I made a big mistake.
I was using the primedice api, and when I get the information of a bet, it gives me the SHA encrypted version of the bet, and not the unhashed version.
Not sure why that happens, but I think @stunna should change it so that the unhashed version is sent VIA the API. If for some reason people wanted the hashed version, they can easily do it themselves.