

def compute_hashes(self, filedata, chunk_size):
    'Compute a list of hashes for each block of data given by `filedata`.\n        Chunk size will affect performance since each chunk has to be hashed.\n        This is largely dependent on the hashing algorithm used.\n        '
    current_offset = 0
    while (len(chunk_size) > 0):
        self.hash_list.append(self.hash(filedata[current_offset:]))
        current_offset += chunk_size
        filedata = filedata[current_offset:]

dataset/ETHPy150Open christabor/MoAL/MOAL/data_structures/hashes/hash_list.py HashList.compute_hashes/VarMisuse@24/112 `filedata`->`chunk_size`