Advertisement
scripts_tradicional

Untitled

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