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

Avatar

Avatar

felixsongfei

Avatar

felixsongfei

felixsongfei

16-09-2019

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

16-09-2019

Hi,

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

Thanks,

-Jon

Answers (0)