I need to decrypt an encrypted string using AMPScript's DecryptSymmetric() function which is coming from an external system(PHP).

I am not sure which algorithm PHP should use to encrypt the string, so that I can decrypt that string using AMPScript's DecryptSymmetric() function.

1 Answer 1


I had achieved something similar with C# and the DES algorithm quite some time ago, you might be able to get some points for AES.


  • I could encrypt and decrypt the data using DES in PHP & SFMC respectively. But I wanted to know if it can be done for AES. I tried in C#, it works with DES, but it is not working with AES.
    – user36778
    Commented Mar 7, 2018 at 6:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .