import random
import string


def generate_random_string(size: int=16) -> str:
    """
    Generates a random string with 16 characters. Size value can be changed.
    :return: random string: str
    """
    random_string = ''.join([random.choice(string.ascii_letters + string.digits) for n in range(size)])
    return random_string