Re:How to pick a random number from 1-10
by lonelappde on Monday July 01, 2019 @12:03PM
(#20326717)
This is an example of a precise analysis that is unhelpful because it is irrelevant in the contexts in which the algorithm would be used. It's like saying "all algorithms are constant time-complexity in practice because computers are finite". True but useless.
> I'll ask you for a random number once per second and after a few answers I don't need to ask any more to know your answer.
You know that we aren't computers right? We don't need any fancy software to detect that kind of attack.
Heck, even granted you have an unsynchronized watch, your "random" numbers are easy to predict, I'll ask you for a random number once per second and after a few answers I don't need to ask any more to know your answer.