Implement (re)setting the initialization vector when using Cipher