Y
Hacker News
new
|
ask
|
show
|
jobs
by
lakshayg
2445 days ago
By naively, you mean using a hash function that does not “scatter” the values properly, something like defining hash(n) = n, right?
1 comments
josephg
2445 days ago
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.
link