import secrets
import string


def generate_secret_key() -> str:
    """Securely generate random 50 ASCII letters and digits."""
    return "".join(secrets.choice(string.ascii_letters + string.digits) for _ in range(50))