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
bryanobryano 

Encryption/Decryption support with official toolkit

Does anyone know if the AJAX toolkit allows for the encryption and decryption of strings?  Or do we have to include encryption algorithms in our s-controls?

Thanks much.
cheenathcheenath
Not sure what encryption you are looking for?

Ajax toolkit does encode/decode non-xml char in a string.

HTHs,



bryanobryano
I was looking to take a string, say a user's password, encrypt that value and save it to an entity in salesforce.  It's no big deal, I can just include the encryption algorithms in my scontrol.
cheenathcheenath
Ok, ajax toolkit doesnt have anything in this regard. You
have to include it in your scontrol.