joshtynjala
Thanks! It turns out the problem was that I had my input in the wrong format. I gradually figured that out by working through all the examples that I could find, but in the end the example at the very bottom of your link was pretty much what I needed.
I've managed to decrypt my files now, but a little bit of the start of the file is cut off, so I assume this is some padding issue that I now need to figure out. But I'm making some progress!
Edit: The issue seems to be that the first 8 characters of the output are missing. I wonder what I've done wrong...
Edit2: When I supplied an empty InputVector, it started to work correctly!