adobe encryption fuction(cryptString) does't match with other software code

surabhis2424891

17-09-2019

Hi There,

I've been asked to get a specific Encrypted value through adobe cryptString funtion and I'm not able to. Is there a reason why it will happen and also I'm getting % sign in start of the Encrypted value with escapeUrl and If i don't use escapeUrl I get @ sign in front of Encrypted value.

Also in cryptString (str [, key ] [, useSalt ]) what could be key?

Thanks,
RAJ

Accepted Solutions (1)

Accepted Solutions (1)

wodnicki

MVP

24-09-2019

Hi,

The cryptString() function is salted with the time, so will never produce the specific value you've been asked to get.

Key param is the AES encryption key in base 64, defaults to xtk option XtkKey.

Thanks,

-Jon

Answers (0)