Add the encryption/decryption of stored events