I'm attempting to use the CryptoAPI extension. I set up a very small app to test encrypting a with RSAEncrypt. I am getting an error "Invalid Syntax on Line 1" when I make the call to the function. I'm just passing in a hardcoded value for the key and a hardcoded value for the text to encrypt. Is there something else I should be doing?
Hi Steve,

Can you share the OML so I can take a quick look?


How are you generating the key?

For RSA you need to use the RSA Key generation functions.