import hashlib


def get_md5(payload):
    """
    Generate md5 hash of a payload

    :param payload: The payload to be hashed.

    :returns: md5 hash
    :rtype: str

    """
    return hashlib.md5(payload).hexdigest()