This repository was archived by the owner on May 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
xxHash sometimes doesn't match the Hash from the C library from Google #16
Comments
I stepped through the code along with the C++ code from google and I've found the issue.
After these two changes, everything seems to match. |
After running a few more files I had to make a modification to my #2 fix. |
I'll take a look at as soon as I can. If you know how to submit a pull request with the changes you talked about above, it could significantly help expedite the process. |
brandondahler
added a commit
that referenced
this issue
Sep 5, 2015
xxHash calculated incorrect valuex when in 64-bit mode and the input satisfies: length % 8 == 4. xxHash calculated incorrect values when in either mode and the input length was greater than or equal to 2^32 characters in length. Both of these issues cause breaking changes to any current users of xxHash given the value(s) could satisfy those constraints.
brandondahler
added a commit
that referenced
this issue
Sep 5, 2015
xxHash calculated incorrect valuex when in 64-bit mode and the input satisfies: length % 8 == 4. xxHash calculated incorrect values when in either mode and the input length was greater than or equal to 2^32 characters in length. Both of these issues cause breaking changes to any current users of xxHash given the value(s) could satisfy those constraints.
brandondahler
added a commit
that referenced
this issue
Sep 5, 2015
xxHash calculated incorrect valuex when in 64-bit mode and the input satisfies: length % 8 == 4. xxHash calculated incorrect values when in either mode and the input length was greater than or equal to 2^31 characters in length. Both of these issues cause breaking changes to any current users of xxHash given the value(s) could satisfy those constraints.
This issue has been addressed in release 1.8.1. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I need to be able to verify an xxHash64 that is being generated by another program. Sometimes the xxHash from this code doesn't match, and when I run the C code downloaded from google, it does.
https://code.google.com/p/xxhash/
Has anyone else had this issue?
The text was updated successfully, but these errors were encountered: