Expand my Community achievements bar.

SOLVED

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

Avatar

Level 4

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?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

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

Thanks,

-Jon

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

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

Thanks,

-Jon