Suppose you know that — the base , the prime , and the result are all public. But is a secret. Finding from and is the discrete logarithm problem (DLP).
Brute force works: try every exponent from 0 to and stop when you hit . But if is a 256-bit number, that search visits roughly values — more atoms than in the observable universe. The DLP is believed to be hard in general, and that hardness is the bedrock of Diffie-Hellman key exchange, DSA signatures, and elliptic-curve cryptography (ECC).
In 1978 the British mathematician John Pollard showed that a cleverly structured random walk through the group can detect a collision after just steps — not p, but the square root of p. For a 20-bit prime that shrinks a million-step search to about a thousand. Applied to elliptic curves (where the group has order roughly p), this is the reason curve parameters must be chosen with large prime-order subgroups: Pollard's rho makes anything smaller insecure.
The algorithm belongs to the broad family of birthday-paradox attacks: collect enough pseudo-random group elements and two of them will collide, leaking the secret exponent — just as 23 people suffice for a 50% chance of a shared birthday.
Comments
Loading comments...