modPow abstract method

int modPow(
  1. int exponent,
  2. int modulus
)

Returns this integer to the power of exponent modulo modulus.

The exponent must be non-negative and modulus must be positive.

Implementation

int modPow(int exponent, int modulus);