Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $round_id = "1";
- $lotto = "4537087886";
- $server_seed = "968710";
- $hash = hash("sha256", $round_id . "-" . $lotto . "-" . $server_seed);
- $roll = hexdec(substr($hash, 0, 8)) % 15;
- echo "Round $round_id = $roll";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement