import random


def random_bytes(size: int) -> bytes:
    """
    Random bytes.

    :param size: number of random bytes
    :return: size random bytes
    """
    return bytes([random.randrange(0, 256) for _ in range(0, size)])