hash-collision

hash function in Python 3.3 returns different results between sessions

hash function in Python 3.3 returns different results between sessions Question: I’ve implemented a BloomFilter in python 3.3, and got different results every session. Drilling down this weird behavior got me to the internal hash() function – it returns different hash values for the same string every session. Example: >>> hash(“235”) -310569535015251310 —– opening a …

Total answers: 3