How encryption and authentication protect your data