Adobe Campaign returns the mass code by using the function "decryptDES" | Community
Skip to main content
New Participant
September 16, 2019
Solved

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

  • September 16, 2019
  • 1 reply
  • 1758 views

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.
Best answer by Jonathon_wodnicki

Hi,

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

Thanks,

-Jon

1 reply

Jonathon_wodnicki
Jonathon_wodnickiAccepted solution
New Participant
September 16, 2019

Hi,

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

Thanks,

-Jon