import hashlib


def get_file_hash(path):
    """
    Return the cryptographic hash of the contents of the file located
    at the provided `path`.
    """
    hash = hashlib.blake2b()
    with open(path, "rb") as file:
        while chunk := file.read(8192):
            hash.update(chunk)

    return hash