import random


def random_str(size):
    """
    Create a random string of the specified size.
    """
    chars = 'abcdefghijklmnopqrstuvwxyz0123456789'
    str = ''.join([random.SystemRandom().choice(chars) for _ in range(size)])

    return str