1

Hey is there a way to decrypt a encrypted message from Marketing Cloud in the Commerce Cloud (formerly Demandware)?

The function used in Marketing Cloud in encrypt is this:

EncryptSymmetric('secretMessage', 'AES', @null, 'secretnumber', @null, '0000000000000000', @null, '00000000000000000000000000000000')
1

Commerce Cloud has the dw.crypto namespace which contains a Cipher class. You can use the Cipher.encrypt and Cipher.decrypt methods to achieve this. See: https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/DWAPI/scriptapi/html/api/class_dw_crypto_Cipher.html?cp=0_16_2_5_1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.