• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

sharedSecret not generated on distributor creation?

Guest
May 05, 2010 May 05, 2010

Copy link to clipboard

Copied

It appears that the Flex code in the admin console is generating the sharedSecret and not the actual admin servlet itself. Can anyone share pseudo code for correctly generating a sharedSecret?

Views

465

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
May 05, 2010 May 05, 2010

For use with the admin APIs you'll want 20 random bytes, which are base64 encoded.   How you come up with 20 random bytes is up to you.  In the example above you may want to use generateSecretKey('BLOWFISH',160) just to ensure you have 20 bytes (assuming you are using CF8 and above, and because I'm not sure what the default key length is for Blowfish in ColdFusion).

Votes

Translate

Translate
Guest
May 05, 2010 May 05, 2010

Copy link to clipboard

Copied

generateSecretKey('BLOWFISH') in ColdFusion seems to do the trick

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 05, 2010 May 05, 2010

Copy link to clipboard

Copied

LATEST

For use with the admin APIs you'll want 20 random bytes, which are base64 encoded.   How you come up with 20 random bytes is up to you.  In the example above you may want to use generateSecretKey('BLOWFISH',160) just to ensure you have 20 bytes (assuming you are using CF8 and above, and because I'm not sure what the default key length is for Blowfish in ColdFusion).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines