python-bloom-filter icon indicating copy to clipboard operation
python-bloom-filter copied to clipboard

What is the underying hashing function used?

Open arshbot opened this issue 6 years ago • 1 comments

Hey there,

I don't see any information in the docs about the hashing fashion used here, could you provide some insight? Thanks!

arshbot avatar Feb 19 '19 16:02 arshbot

It multiplies primes together to create a hash

https://github.com/hiway/python-bloom-filter/blob/b5fe3172a6ff6c1b5ebadc4bc6e21778e17ed04b/src/bloom_filter/bloom_filter.py#L450-L455

asteres avatar Jun 18 '19 00:06 asteres