logoalt Hacker News

wat1000004/24/20250 repliesview 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.