It looks like your provably fair algorithm is wrong.
After registration I got this data:
server seed (hashed): c5009d7501048a1d8584d6252e7f8b0101050a8d24ac081ccbb9b66c71a1d1cc6883df21b70bfd6fc8cc0488dfa6cefe48d8a9985100882bc1ed146c90de57aa
client seed: 6Uhkv00IEIS9iQ7Q
nonce: 0
after 3 bets I decided to rotate my seed pair and I got reveal of previous server seed:
server seed (revealed): 7f391e667ade470e2647a0f97fbbadac3d0c59bcda81589806db0ac79d08fb2a37cc2a5ec26b4fe0af9827de7a9eff410bdbffb0451815743266438e6c573c7a
And that seems OK because
SHA512(7f391e667ade470e2647a0f97fbbadac3d0c59bcda81589806db0ac79d08fb2a37cc2a5ec26b4fe0af9827de7a9eff410bdbffb0451815743266438e6c573c7a) === c5009d7501048a1d8584d6252e7f8b0101050a8d24ac081ccbb9b66c71a1d1cc6883df21b70bfd6fc8cc0488dfa6cefe48d8a9985100882bc1ed146c90de57aa
But after running your code from here:
$seed=hash_hmac('sha512',$clientSeed .','. $nonce, $serverSeed);
$offset=0;
do{
$number=substr($seed,$offset,5);
$number=hexdec($number);
$offset+=5;
}
while($number > 999999);
$luckyNumber = ($number % 10000) / 100;
echo $luckyNumber;
I'm getting that for nonce 0 my roll number is 26.52 but instead it was 12.98 and for nonce 1 scripts return 45.31 but your site gave me 23.14
Can you please explain this?