5 ms·
Mathematically, does regenerating the code make a lot of difference? You can simulate that by running a loop that generates a random 4-digit number in each ite
by hkai 7y ago
Mathematically, does regenerating the code make a lot of difference?
You can simulate that by running a loop that generates a random 4-digit number in each iteration and randomly guessing it.
On average, you will guess the number after 10,000 iterations. It doesn't help that you regenerate the number each time. Your chance is still 1/10,000.