You can watch as winning numbers for automated draws are revealed in real-time on the product page as soon as the scheduled draw time is reached.
The winning number is picked randomly, using PHP’s random_int. This function is cryptographically secure and picks a number uniformly distributed within the range of 1 to the number of tickets on sale.
You can read the technical details about PHP’s random number generator on the PHP documentation page.