can you please check again it works last time but i think i forgot again
Seed server (Hashed)
0dfae9fef68c1638bde02cb59983ddf79907783d8c345f217118ca814a75b5a74bca41bc43cbc4f
80fef87f66b962e4157682e3bf0c11dad677ed7c5076f7dba
Seed server (Revealed)
bb991459f04a09c7198fc1c56e47d5d6085d78b87965cd41e1770789d5216b4e4ad7ea1a21bc237
2eb13fa552d7ca44ff2e529c06ab624e46d200a362a932adc
Seed client
84d58ad81c56dfbcfee016c4ad477530e7c85756
u mean this right
server_seed-client_seed-end_nonce
for the first roll on this sitehttp://www.freeformatter.com/hmac-generator.html#ad-output
Copy-paste the string here
bb991459f04a09c7198fc1c56e47d5d6085d78b87965cd41e1770789d5216b4e4ad7ea1a21bc237
2eb13fa552d7ca44ff2e529c06ab624e46d200a362a932adc-84d58ad81c56dfbcfee016c4ad477530e7c85756-1
Secret Key
bb991459f04a09c7198fc1c56e47d5d6085d78b87965cd41e1770789d5216b4e4ad7ea1a21bc237
2eb13fa552d7ca44ff2e529c06ab624e46d200a362a932adc
Select a message digest algorithm
SHA1
than outcome 8 digits to hexa and than last part same right ?
becoz its not coming correct or i forgot something.............. it works that day
thanx and regards
...
i don;t get it as prime dice u can check roll HMAC N Than to hexadecimal how bitsler.com do that do u know how u verify that roll.
what is this all abt ..... its not as primedice
$seed = $serverSeed.'-'.$clientSeed.'-'.$nonce;
do {
$seed = sha1($seed);
$lucky = hexdec(substr($seed,0,8));
} while ($lucky > 4294960000);
$luckyNumber = ($lucky % 10000) / 100;
if ($luckyNumber < 0)
$luckyNumber = -$luckyNumber;
echo $luckyNumber;
who can tell me how to verify n take out bitsler roll
like prime dice its simple client seed -nonce with secret key =hmac n hmac gives us decimal with sha512 whts behind bitsler??
Note that I already have a simple verifier for Bitsler too:
https://dicesites.com/bitsler/verifierAt Bitsler you have to use SHA1 instead of HMAC-SHA512 with:
server_seed-client_seed-end_nonce
Then instead of the first 5 characters, get the first 8 characters and convert from hexadecimal to decimal. Last part is the same as PD... outcome%10000/100.
Let me know if it works
![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
If not, you could give an example and I can show the "calculation" of the first result.