Title: What does murmurhash do in BTC? Post by: nuggetbram on June 28, 2014, 03:02:53 AM After inspecting bitcoin's hashing section, I discovered this in hash.cpp
Code: unsigned int MurmurHash3(unsigned int nHashSeed, const std::vector<unsigned char>& vDataToHash) What/why is there murmurhash in the middle of bitcoin? What does it do, excatly, and why have I never heard of this anywhere? I'm not very proficient with cryptography, so a detailed explanation would be great ;) Thanks, Title: Re: What does murmurhash do in BTC? Post by: gmaxwell on June 28, 2014, 05:37:43 AM What/why is there murmurhash in the middle of bitcoin? It's not used for a cryptographic purpose.What does it do, excatly, and why have I never heard of this anywhere? I'm not very proficient with cryptography, so a detailed explanation would be great ;) See BIP0037 (or grep the code base for where it is used!). Title: Re: What does murmurhash do in BTC? Post by: nuggetbram on June 28, 2014, 06:12:17 AM What/why is there murmurhash in the middle of bitcoin? It's not used for a cryptographic purpose.What does it do, excatly, and why have I never heard of this anywhere? I'm not very proficient with cryptography, so a detailed explanation would be great ;) See BIP0037 (or grep the code base for where it is used!). Aah, that makes much more sense. Thanks! |