import random
from typing import List


def generate_seeds(rng: random.Random, size: int) -> List[int]:
    """Generates list of random seeds

    :param random.Random rng: random number generator
    :param int size: length of the returned list
    :return: list of random seeds
    :rtype: List[int]
    """
    seeds = [rng.randint(0, 2**32 - 1) for _ in range(size)]
    return seeds