Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

By naively, you mean using a hash function that does not “scatter” the values properly, something like defining hash(n) = n, right?


Yes. hash(n) = n is fine in lots of cases, though its still vulnerable to the algorithmic complexity attacks as others mentioned in this thread.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: