Search code examples
aesmulesoft

Is it possible to use AES Algorithm to encrypt message payload in Mulesoft


We need to encrypt the payload with AES Algorithm using 32 chars Key in Mulesoft.

Do we have the option to implement it like we have JCE and PGP in Crypto module. How to encrypt using AES. And also to decrypt it manually after the process.


Solution

  • You can use Mule Cryptography Module to encrypt/decrypt payñoadd with a JCE configuration: https://docs.mulesoft.com/mule-runtime/4.4/cryptography-jce. Select AES as the algorithm.