Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nlehuen
· 10mo ago · 0 comments
I came here to write that :-)
Comments
[–]
nlehuen
OP
10mo ago
Actually there are π(N) ~ N / ln(N) primes less than N per the Prime Number Theorem, so π(2 ^ 160) ~ 2 ^ 153.2 - this only drops 7 bits. So that does increase the odds of collision but much less than what I expected!
[–]
keepamovin
10mo ago
Maths saved the day again!
I added a section to the README and pages site noting your logic.
[–]
cluckindan
10mo ago
It’s ok, you can still assign a unique hash for more than half of the atoms in the universe.