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
vickySFDCvickySFDC 

How to Encrypting Credit card info in Saleforce?Urgent help

HI All,

  I have requirement in Saleforce , I want to store Credit Card info in encryption format.Then this data is push into other system(SQL).How this encrypted data read by other system.Please help me.

Thanks,
Vicky
VSK98VSK98
Hi Vicky,

We have encryption data type in fields. Can you please check on that. Hope it helps you.

Regards,
Siva
Subin BabuSubin Babu
Hi Vicky
This is from SalesForce manual 
Encrypted fields are encrypted with 128-bit master keys and use the Advanced Encryption Standard (AES) algorithm. You can archive, delete, and import your master encryption key. To enable master encryption key management, contact Salesforce.

What you can do is get your own key int the system with the help of SalesForce and using that key you can decrypt this in your other system using AES decrypt routine


 
Subin BabuSubin Babu
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_restful_crypto.htm
https://developer.salesforce.com/page/Apex_Crypto_Class
https://salesforce.stackexchange.com/questions/145627/salesforce-decrypt-encrypted-field
Hopefully great starting points..
vickySFDCvickySFDC
Hi All,

   Thanks for Quick reply and I will implement and test scenario as mentioned your inputs.I will be back if any clarifications.

Thanks,
Vicky