involving the discrete logarithm problem