cespare / xxhash

A Go implementation of the 64-bit xxHash algorithm (XXH64)
MIT License
1.79k stars 123 forks source link

collision likeness? #59

Closed pkieltyka closed 3 years ago

pkieltyka commented 3 years ago

thanks for this awesome library. I'm thinking of using xxhash/v2 to generate primary key based on contents of data, however I was wondering about the likelyhood of collisions assume a large input (ie. 40+ bytes)? thanks for any insights you can provide

cespare commented 3 years ago

You can read about this on this on the xxhash wiki and elsewhere.