Solve discrete logarithm problems by the index calculus method.