Hacker News new | ask | show | jobs
by userbinator 4351 days ago
you'd also need exactly the same random seed. There are a lot of possibilities for that seed.

I've seen a lot of code that either forgot to srand(), or misused it in some way so the output was pretty determinate. There are also a limited number of PRNGs in use, and they're most definitely not understood well by the majority of programmers; the crypto community knows this quite well. A collision may not be so unlikely after all.

(Try Googling "41, 18467, 6334" for example. "41184676334" also brings up some interesting results.)