Encrypted fields are encrypted with 128-bit master keys and use the Advanced Encryption Standard (AES) algorithm.
Salesforce users with “Manage Encryption Keys Permissions Salesforce” permission will be able to enable Platform Encryption in the Setup.
Please check the following steps for your reference:
1. Create a Permission Set with “Manage Encryption Keys Permissions Salesforce” permission.
2. Go to “Platform Encryption”.
3. Click “Generate Tenant Secret”.
4. Use Encrypt Files and Attachments to encrypt attachments and Encrypt Fields to encrypt the fields.
Output: