import random


def generate_random_numbers(n=1, bits=32):
    """
        Generates n random numbers.
        :param n: number of random numbers to generate
        :param bits: number of bits each random number should contain.
        :return: list of long integer random numbers.
    """
    return [random.getrandbits(bits) for _ in range(0, n)]