Now the IV is written at the end of the encrypted message, to simplify things
on the receiving end so the message is not sandwiched in between two critical
pieces of data. Now all the encryption metadata is at the end.