import hashlib


def get_sha256(binary_filename) -> str:
    """
    Get sha-256 hash for a file
    :param binary_filename:
    :return: sha-256 hash
    """
    with open(binary_filename, "rb") as fp:
        bytes = fp.read()
        return hashlib.sha256(bytes).hexdigest()