5 ms·
wyhash is very impressive for those interested. Not sure why it doesn't get a lot of attention. https://github.com/wangyi-fudan/wyhash https://github.com/wangy
by halayli 6y ago
wyhash is very impressive for those interested. Not sure why it doesn't get a lot of attention.
https://github.com/wangyi-fudan/wyhash https://github.com/wangyi-fudan/wyhash
- remcob 6y agoIt's odd to have the documentation in a .docx file in the repo. The code itself is not very readable. The core of it is something like (simplified): function mix(uint64 a, uint64 b) { a ^= secret b ^= seed hi, lo = mul128(a, b) seed = hi ^ lo } It's elegantly simple, but depends critically on 'secret' not appearing in the data.