import secrets
import string


def generate_secure_password(length=12):
    """
    Generate a secure random password

    Args:
        length (int): Length of password (default: 12)

    Returns:
        str: Generated password containing letters, digits, and symbols
    """
    alphabet = string.ascii_letters + string.digits + "!@#$%^&*"
    return ''.join(secrets.choice(alphabet) for i in range(length))