+ Start a Discussion

How to Encrypt a value using apex code also reversing a string?

Hi all,


I am new for salesforce coding,

I have a problem,

I want to encrypt a value in apex

also I want to reverse a string using apex code.


You can choose the field type of Encrypted text when creating a custom field and the data is stored encrypted. 


You have a method called reverse on string you can use to flip the characters