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
wan sing tan 2wan sing tan 2 

If anyone know if we can use 3DES (Triple Data Encryption Standard) in Salesforce/Apex?

i would like to encrypt on field by using 3DES algorithm. Is anyone know how to do it?
Can anyone share or give me some advice on this?

Please help.

Thanks.
 
NagendraNagendra (Salesforce Developers) 
Hi Wan,

3DES is a way to reuse DES implementations, by chaining three instances of DES with different keys. 3DES is believed to still be secure because it requires 2^112 operations which is not achievable with foreseeable technology. 3DES is very slow especially in software implementations because DES was designed for performance in hardware.

Please check below post for similar issue.
https://developer.salesforce.com/forums/?id=906F00000008wXuIAI
For better resources check here
http://www.differencebetween.net/technology/difference-between-aes-and-3des/

Please mark this as best answer if it helps.

Best Regards,
Nagendra.P