Cyan4973 / xxHash

Extremely fast non-cryptographic hash algorithm
http://www.xxhash.com/
Other
9.14k stars 777 forks source link

Are xxhash algorithms stable? #295

Closed yasushi-saito closed 4 years ago

yasushi-saito commented 4 years ago

Does xxhash guarantee that future changes to the code doesn't change the output of the functions? If so, can we have a declaration in the doc? Btw, highwayhash has this guaratee.

I'm planning to use xxhash to compute the checksum of bulk data to be stored at rest. In that application, I need an assurance that I can update to a newer version of xxhash without reencoding the data.

Cyan4973 commented 4 years ago

XXH32 and XXH64 both have this guarantee.

Newer XXH3 and XXH128 do not have this guarantee yet.