modInverse method

Returns the modular multiplicative inverse of this integer modulo modulus.

int modInverse(
int modulus
)

Returns the modular multiplicative inverse of this integer modulo modulus.

The modulus must be positive. Throws if no modular inverse exists.