daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Feb 8th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Note: for more than 1 reroll, the number in the client seed will be changed to match each subsequent reroll.
  2.  
  3. <?php
  4.  
  5. $client_seed = 'Lucky ID reroll 1';
  6. $server_seed = 'chatgame server seed';
  7.  
  8. $result_seed = hash_hmac('sha512', $server_seed, $client_seed);
  9. $result_number = hexdec(substr($result_seed,0,10));
  10. $lucky_number = abs($result_number % 1000);
  11.  
  12. echo $lucky_number;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top