logoalt Hacker News

wat10000 • 04/24/2025 • 0 replies • view on HN

You can get it pretty much for free by using a random salt with your hash function. This is also useful for avoiding DOS attacks using deliberate hash collisions to trigger quadratic behavior in your hash tables.