Thanks, will try to construct a verifier soon. I wish your site all the best, seems to be picking up steam a bit.
Just FYI,, you have a few minor bugs in the code:
- the loop to find the resulting roll may loop over the length of the string and not produce a valid number
- since you are reusing the server key for many bets, the best practice is to place it in the key field, not the data field of the HMAC (Key fields may be reused).
- your server seed key length is small, I would increase it
[/quote]
Thanks for your feedback, we will improve the code with your suggestions.