import string
import random


def randStr(chars = string.ascii_uppercase + string.digits + string.ascii_lowercase, N=42):
    """Generate a random string of len 42 to spoof a reset token"""
    return ''.join(random.choice(chars) for _ in range(N))