import hashlib


def get_sha512(payload):
    """
    Generate sha512 hash of a payload

    :param payload: The payload to be hashed.

    :returns: sha512 hash
    :rtype: str

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