Open mateon1 opened 7 years ago
We use it when building HAMTs (hash maps). Not to build actual multihashes (<type><length><digest>
) but just to indicate the hash function.
However, you bring up a good point about the architecture dependence. I believe we're using murmur3-128x64.
I think this is a major issue for a hashing function for multihash. I believe the idea is for the hash to be reproducible anywhere.
This could be fixed by splitting the Murmur3-128 multihash code into two, whether the 32 bit or 64 bit implementation is to be used.
Alternatively, Murmur could be removed, as it's an unsafe, non-cryptographic hash function, and I am not aware of anything that depends on a multihash library and uses murmur.