pub fn discrete_log_with_order(
    n: &Integer,
    a: &Integer,
    b: &Integer,
    order: &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)).

If the order of the group is known, it can be passed as order to speed up the computation.