Text Field to Text (Encrypted) - Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Jason ReedJason Reed 

Text Field to Text (Encrypted)

I have a SS# field that is currently a custom Text field and now needs to be a Text Encrypted field (*****4569).  When I go to Edit the text field and Change Field Type the option to change Text Encrypted is not there.  Is it possible to change a Text field to Text Encrypted?  
Dave RiesDave Ries
You can't convert to Encrypted I'm afraid.  Here is the Best Practice from Salesforce:

"Existing custom fields cannot be converted into encrypted fields nor can encrypted fields be converted into another data type. To encrypt the values of an existing (unencrypted) field, export the data, create an encrypted custom field to store that data, and import that data into the new encrypted field."

https://help.salesforce.com/articleView?id=fields_about_encrypted_fields.htm&type=5
Jason ReedJason Reed
Is this the case for Shield Platform Encryption?