Add brute-force algorithm for discrete logarithm.