import string
import random


def random_str(size=16, possible=string.ascii_letters + string.digits):
    """ Returns a random string from the possible characters. """
    return "".join(random.choice(possible) for _ in range(size))