Hi everyone,
i would like to have help in some problem that i have when i use encryption_aescbcEncrypt and encryption_aescbcDecrypt funtions. Specifically, the problem looks to be when i try to decrypt back the data that i encrypt before. After Decrypt funtion the data cames ''empty''. i will try to explain what i am doing with an example:
I have taken a client from my database in a workflow to encrypt his email. As it shows in the Adobe campaign standard guide functions, https://helpx.adobe.com/campaign/standard/automating/using/list-of-functions.html, I used the functions encryption_aescbcDecrypt and encryption_aescbcEncrypt. I have used the same parameters in the functions that are shown in the adobe example for take the key in HEX format and for the initialization vector:
- encryption_aescbcEncrypt (Email, "x0123456789ABCDEF0123456789ABCDEF", "x0123456789ABCDEFFEDCBA9876543210").
- encryption_aescbcDecrypt (Email Encrypted, "x0123456789ABCDEF0123456789ABCDEF", "x0123456789ABCDEFFEDCBA9876543210").
The problem is when i am decrypting. It doesn`t return the initial value of email, it returns an empty space.
Thank you all.