Exponentiation { public static BigInteger modInverse(final BigInteger a, final BigInteger modulus) throws ArithmeticException { if (GMP_AVAILABLE) { return Gmp.modInverse(a, modulus); } else { return a.modInverse(modulus); } }  static BigInteger modPow(BigInteger base, BigInteger exponent, BigInteger modulus); static BigInteger modInverse(final BigInteger a, final BigInteger modulus); static final boolean USE_SECURE_MOD_POW; static final boolean GMP_AVAILABLE; }
@Test public void testModInverse() { fail("Not yet implemented"); }