pub fn discrete_log( n: &Integer, a: &Integer, b: &Integer, ) -> Result<Integer, Error>
Compute the discrete logarithm of a in base b modulo n (smallest non-negative integer x where b**x = a (mod n)).
a
b
n
x
b**x = a (mod n)