Function mod_inv
Source pub fn mod_inv(a: &BigUint, m: &BigUint) -> Option<BigUint>
Expand description
Computes the modular multiplicative inverse of a modulo m.
§Arguments
a - The number to find the inverse for, as a BigUint.
m - The modulus, as a BigUint.
§Returns
An Option<BigUint> representing the modular multiplicative inverse of a modulo m if it exists.