+ Start a Discussion
David Zhu 8David Zhu 8 

RSA asymmetric encryption in apex code

Hi All,
I have a application requires using asymmetric cryptography to encrypt/decrypt messages in Apex code. Salesforce currently has not built in functions for that.
I have no experiece with encryption. Can someone shed some light how to implement that? or if there is salesforce App could be used?

Thanks,
David
bainesybainesy
There's a crypto library that can handle this for you:
https://developer.salesforce.com/page/Apex_Crypto_Class
 
David Zhu 8David Zhu 8
Salesforce only supports symmetric encryption, no built-in asymmetric encryption is available.