def _hashes(self, item):
        m = hashlib.sha1()
        m.update(item)
        digits = m.hexdigest()
    
        # Add another 160 bits for every 8 (20-bit long) hashes we need
        for i in range(self.num_hashes / 8):
            m.update(str(i))
            digits += m.hexdigest()
    
        hashes = [int(digits[i*5:i*5+5], 16) % self.hashbits for i in range(self.num_hashes)]
        return hashes
To create the hash functions we use the SHA-1 hash of the
dataset/ETHPy150Open chineking/cola/cola/core/bloomfilter/__init__.py/BloomFilter._hashes