Added encryption option in demo app.