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