function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
anu.s1.3587621171560732E12anu.s1.3587621171560732E12 

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.

kriskkrisk

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