def compute_hashes(self, filedata, chunk_size):
        current_offset = 0
        while len(filedata) > 0:
            # Add hashed chunk to the list
            self.hash_list.append(
                self.hash(filedata[current_offset:]))
            current_offset += chunk_size
            # Continue with substring value
            filedata = filedata[current_offset:]
Compute a list of hashes for each block of data given by `filedata`.
dataset/ETHPy150Open christabor/MoAL/MOAL/data_structures/hashes/hash_list.py/HashList.compute_hashes