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?
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).
Copy link to clipboard
Copied
generateSecretKey('BLOWFISH') in ColdFusion seems to do the trick
Copy link to clipboard
Copied
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).