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?
Solved! Go to Solution.
Hi,
The key (1st arg) has to be in base16 [0-9a-f] and 16 chars long.
Thanks,
-Jon
Hi,
The key (1st arg) has to be in base16 [0-9a-f] and 16 chars long.
Thanks,
-Jon