code: public static void decrypt(byte[] keyData, byte[] iv, String cipherTransformation,
              InputStream encryptedData, OutputStream output) throws NoSuchAlgorithmException,
              NoSuchPaddingException, InvalidKeyException, IllegalBlockSizeException,
              BadPaddingException, InvalidAlgorithmParameterException, IOException {
          Cipher cipher = createCipher(Cipher.DECRYPT_MODE, keyData, iv, cipherTransformation);
          try (DdthCipherInputStream cis = new DdthCipherInputStream(encryptedData, cipher, false)) {
              IOUtils.copy(cis, output, 1024);
              output.flush();
          }
      }
docs: Decrypt data using AES.
  
  @param keyData
  @param iv
  initial vector. If {@code null} or empty, {@link #DEFAULT_IV}
  will be used.
  @param cipherTransformation
  cipher-transformation to use. If empty, {@link #DEFAULT_CIPHER_TRANSFORMATION}
  will be used.
  @param encryptedData
  encrypted data will be read from this input stream. This method will not close the
  input stream!
  @param output
  output data will be written to this output stream. This method will not close the
  output stream!
  @throws NoSuchAlgorithmException
  @throws NoSuchPaddingException
  @throws InvalidKeyException
  @throws IllegalBlockSizeException
  @throws BadPaddingException
  @throws InvalidAlgorithmParameterException
  @throws IOException
  @since 0.9.2