Below is code snippet from C# which needs to be converted in Apex:
var key = Encoding.UTF8.GetBytes("string");
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this community