A secret number between 0 and 1 is generated at the start of the round, and its SHA-224 hash is published before the result is revealed. At the end of the round, the secret number is multiplied by the total number of tickets. The integer part of this product determines the winning ticket.
Example: 0.282796734 × 100000 = 28279.6734. The winning ticket is 28279.