Generate a random number to use as the packets challenge.