import random


def getRandomBytes(size):
    """
    Returns an array of `size` random integers representing bytes
    :param size: The size of the array
    :return: The array of random integers
    """

    random.seed()
    a = []
    for i in range(0, size):
        a.append(random.randint(0, 255))
    return a