def __hash(self, data): # {{{3
    start_time = time.time()
    context = self.hash_function_impl()
    context.update(data)
    digest = context.digest()
    self.time_spent_hashing += time.time() - start_time
    return digest
dataset/ETHPy150Open xolox/dedupfs/dedupfs.py/DedupFS.__hash/original