Advertisement
Guest User

Untitled

a guest
Jan 20th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. server_seed = "39b7d32fcb743c244c569a56d6de4dc27577d6277d6cf155bdcba6d05befcb34";
  2. $lotto = "0422262831";
  3. $round_id = "1";
  4. $hash = hash("sha256",$server_seed."-".$round_id."-".$lotto);
  5. $roll = hexdec(substr($hash,0,8)) % 15;
  6. echo "Round $round_id = $roll
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement