Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!
SOLVED

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

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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