Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lakshayg
· 7y ago · 0 comments
By naively, you mean using a hash function that does not “scatter” the values properly, something like defining hash(n) = n, right?
Comments
[–]
josephg
7y 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.