Discrete logarithm (#487) - Basecamp