Questions tagged [murmurhash]

MurmurHash is a non-cryptographic hash function suitable for general hash-based lookup.

Murmurhash generates roughly the same number of collisions as alternate hashes over a wide range of input data.

95 questions
0
votes
1 answer

Suggest improvements in murmurhash3

I want to hash 64 bit integers only. I am using the implementation of murmurhash3 given here. Can there be some improvements in the code given this constraint. I am not able to figure it out completely but I think that the the for loop at line 171…
Aman Deep Gautam
  • 8,091
  • 21
  • 74
  • 130
-1
votes
1 answer

Murmur Hash simple flowchart?

I found MurmurHash recently as one of the fastest, and MurmurHash3 is the new version of MurmurHash. I also found the complete explanation of MurmurHash in a Diagram by Ian Boyd. This diagram really looks awesome but I understand only a bit of it…
-1
votes
1 answer

Where can I find a Delphi implementation of Murmur2 for hashing streams?

I am looking for Delphi code to use Murmur2 to hash a file stream. Should support both 32-bit and 64-bit.
Daniel
  • 315
  • 5
  • 16
-2
votes
1 answer

Go has different result from mmh3 of Python

I tried https://github.com/spaolacci/murmur3,roberson-io/mmh3 and many go version. But I get the different result from python mmh3. Python example: import mmh3 print(mmh3.hash("foods",45)) Go example: package main import ( "fmt" …
-4
votes
1 answer

Generate input that would cause collisions using Murmur2 64bit hash function

I am stuck on an assignment that consists in finding a vulnerability in std::unordered_set that simply inserts some strings in an unordered_set in a cycle: for (const auto& user : users_list) { users.insert(user); } See full source code…
magom001
  • 608
  • 6
  • 16
1 2 3 4 5 6
7