BigInteger intPrimeQ = new BigInteger(primeQ);
BigInteger intPrimeExponentP = new BigInteger(primeExponentP);
BigInteger intPrimeExponentQ = new BigInteger(primeExponentQ);
BigInteger intCrtCoefficient = new BigInteger(crtCoefficient);
RSAPrivateCrtKeyParameters RSAprivKey = new RSAPrivateCrtKeyParameters
(intModulus, intPubExponent, intPrivExponent, intPrimeP,
intPrimeQ, intPrimeExponentP, intPrimeExponentQ, intCrtCoefficient);
byte[] toDecrypt = Hex.decode(input);
cipher = new PKCS1Encoding(new RSAEngine());
cipher.init(false, RSAprivKey);