adobe encryption fuction(cryptString) does't match with other software code | Community
Skip to main content
surabhis2424891
September 17, 2019
Solved

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

  • September 17, 2019
  • 1 reply
  • 1719 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jonathon_wodnicki

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

1 reply

Jonathon_wodnicki
Community Advisor
Jonathon_wodnickiCommunity AdvisorAccepted solution
Community Advisor
September 24, 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