I have a marketing cloud custom preference center cloud page posting and retrieving information directly from Sales Cloud based on Contact ID. The page is accessible only via email. But we would like to include the page url in Salesforce commerce cloud and pass the contacts unique id via the url parameter. The problem is that we want the parameter to be encrypted and then de-crypted by marketing cloud via ampscript.
My understanding is that commerce cloud is able to encrypt values: https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp?topic=%2Fcom.demandware.dochelp%2FDWAPI%2Fscriptapi%2Fhtml%2Fapi%2Fclass_dw_crypto_Cipher.html&cp=0_16_2_5_1
but marketing cloud cannot de-crypt anything that is not stored in the platform? https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-programmatic-content.meta/mc-programmatic-content/DecryptSymmetric.htm
You can only use the EncryptSymmetric() and DecryptSymmetric() AMPscript function on data contained within Marketing Cloud. Marketing Cloud does not support the use of these functions in conjunction with outside or third-party encryption and decryption functionality.
Is there an alternative?