a modulo n.
Returns s such that a*s ≡ 1 (mod n) where s is between 1 and n-1 inclusive, or
None if gcd(a,n) > 1 (inverse doesn’t exist).
a modulo n.
Returns s such that a*s ≡ 1 (mod n) where s is between 1 and n-1 inclusive, or
None if gcd(a,n) > 1 (inverse doesn’t exist).