4 ms·
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
by userbinator 12y 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.)