Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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