spaolacci / murmur3

Native MurmurHash3 Go implementation
BSD 3-Clause "New" or "Revised" License
955 stars 125 forks source link

Add seeded versions of 32-bit hashing functions (NewSeeded32() and SeededSum32… #8

Closed runeaune closed 8 years ago

runeaune commented 9 years ago

…()). These work the same way as the regular functions, but can be started with h1 != 0.

I'm implementing Bitcoin BIP-0037 (https://github.com/bitcoin/bips/blob/master/bip-0037.mediawiki) in Go and would like to use this library to create hashes for the bloom filter. Test data comes from: https://bitcoin.org/en/developer-examples#creating-a-bloom-filter