} if (state != ENCRYPT_MODE && state != DECRYPT_MODE) { throw new IllegalStateException("neither encrypting nor decrypting"); }
  public final int getOutputSize(int inputLength) throws IllegalStateException  {    if (cipherSpi == null)      {        return inputLength;      }    if (state != ENCRYPT_MODE && state != DECRYPT_MODE)      {        throw new IllegalStateException("neither encrypting nor decrypting");      }    return cipherSpi.engineGetOutputSize(inputLength);  }