import random
import string


def get_random_string(length=6):
    """
    Return a random string 'length' characters long
    """
    return ''.join(random.SystemRandom().choice(string.ascii_uppercase + string.digits) for _ in range(length))