Skip to main content
Level 3
Sep 16, 2019 10:27 AM UTC
Solved

Adobe Campaign returns the mass code by using the function "decryptDES"

Adobe Campaign returns the mass code by using the function "decryptDES", how to fix the problem?

JS code example:

var str="是的";

logInfo(">>>"+decryptDES("12345689abcdefgh",encryptDES("12345689abcdefgh",str,"CBC"),"CBC"));

result:

/,,

The result is not a valid character the same with str. Can any one tell me how to fix the issue?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Jonathon_wodnicki
Jonathon_wodnickiAccepted solution
Community Advisor
Sep 16, 2019 2:47 PM UTC

Hi,

The key (1st arg) has to be in base16 [0-9a-f] and 16 chars long.

Thanks,

-Jon

1 reply

Jonathon_wodnicki
Community Advisor
Jonathon_wodnickiCommunity AdvisorAccepted solution
Community Advisor
Sep 16, 2019 2:47 PM UTC

Hi,

The key (1st arg) has to be in base16 [0-9a-f] and 16 chars long.

Thanks,

-Jon

Translate