upvote
I don't follow either. If we don't reduce, then we multiply by ten (giant steps), right? But which baby step we multiply first and how do we know to stop trying that step and change to something else? It seems that we still guess, just not sequentially, but total number of steps to guarantee solution is still the same.
reply
The baby steps are stored in a hash table (F(x), x), then for each giant step the remainder S - F(n) is looked up in the hash table. An elliptic curve allows you to add and subtract points. If S - F(n) is found in the hash table, the private key is n + x. If S - F(n) is not found, n is incremented by the giant step. Instead of 2^256 operations, baby-step giant-step does 2^128 hash table lookups at the cost of space for 2^128 hash table entries. If available memory is smaller than 2^128, for example 2^80, then baby-step giant-step would do 2^176 hash table lookups on a hash table of size 2^80 entries. But the speedup is limited to sqrt(2^256) = 2^128 because it takes at least 2^128 operations to fill the hash table.

An analogy is the O(n) algorithm for Two Sum. Instead of iterating over n^2 pairs (= O(n^2) time) and using O(1) space, a precomputed hash table replaces the inner loop iteration with a hash table lookup, changing the algorithm to O(n) time and O(n) space.

reply