Encrypt a JSON object using aes-256-cbc.