import hashlib


def generate_md5_hash(data: str):
    """Generate a md5 hash of the input str

    :param data: the input str
    :return: the md5 hash string
    """
    return hashlib.md5(data.encode()).hexdigest()