• Mikaël Jaffré
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

Hi,
My client asks me to use AES ECB PKCS5 128 encrypting method. I found a way to do it via JavaScript but that can presents some security issues.

Unfortunately, ECB mode is not supported in Salesforce (only CBC). I would like to find a way to do it in Apex. Maybe is there any solutions on AppExchange?

Thanks,
​​​​​​​Mik Jaf

I am aware that SFDC supports decryption using AES(128 bit) using CBC mode. But I have a requirement where I need to decrypt a cipher text encrypted using AES(128 bit) ECB mode.

One way of doing this is using Javascript. But this approach presents issues on security front.

Is there some other way to accomplish the same?