Salesforce interview question

How encryption works?