Reputation: 9436
I am trying to create a checksum for one page of memory. Can anyone suggest a checksum function which is fast and accurate. Surprisingly, I am finding it difficult to find on google. I need to write the function in C.
Thanks
Upvotes: 0
Views: 109
Reputation: 86353
MurmurHash3 is very fast and it has a relatively low collision rate. That said, it's not suitable for the production of cryptography-quality hashes, due to its simplicity.
Upvotes: 0
Reputation: 26
You could try md5 (http://www.fourmilab.ch/md5/) which is most commonly used or SHA-1 (http://md5deep.sourceforge.net/) which is considered better than md5
Upvotes: 1