News for hackers. Stuff that matters.
Re:Show HN: Discohash – Fast Hash by halayli on Saturday May 23, 2020 @11:19AM (#23283623)
wyhash is very impressive for those interested. Not sure why it doesn't get a lot of attention.

https://github.com/wangyi-fudan/wyhash

Re:Show HN: Discohash – Fast Hash by remcob on Saturday May 23, 2020 @08:34PM (#23288006)
It'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.