Add hmac to encrypted data.

Using an HMAC ensures that the ciphertext has not been
modified.