import hashlib


def compute_hash(data):
    """
    Get hash
    :param data: bytes, required
    :return: string
    """

    h = hashlib.sha256(data).digest()
    h = hashlib.sha256(h).digest()

    return h[::-1].hex()