Hacker News new | ask | show | jobs
by 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.