Changing encryption flag to true