Pollard's kangaroo algorithm: Difference between revisions

Content deleted Content added
m Naming: Spelling, and style. Removed "well-known" from description of RSA, since it was hardly well-known in 1977. In fact, that was when the NSA tried to suppress its publication.
Complexity: Regularized in-line expressions, straightened out a wiki-link, and used \scriptstyle to generate smaller .PNGs for in-line TeX.
Line 31:
==Complexity==
 
Pollard gives the time complexity of the algorithm as <math>{\scriptstyle O(\sqrt{(b-a)})}</math>, based on a probabilistic argument which follows from the assumption that <math>''f</math>'' acts pseudorandomly. Note that when the size of the set <math>\{''a'',\ldots&nbsp;&hellip;,&nbsp;''b\''}</math> to be searched is measured in [[bits]], as is normal in [[complexity theory]], the set has size <math>\log(''b-''&thinsp;&minus;&thinsp;''a'')</math>, and so the algorithm's complexity is <math>{\scriptstyle O(\sqrt{\log(b-a)}) = O(e^{\frac{1}{2}\log(b-a)})}</math>, which is exponential in the problem size. For this reason, Pollard's lambda algorithm is considered an [[exponential time]] algorithm. For an example of a [[subexponential time]] discrete logarithm algorithm, see the [[Indexindex calculus algorithm|index calculs algorithm]].
 
==Naming==