I am trying to persist a field from a form, but I get an error when I save this data to the DB. Here ir the error:
Hey there Tomas,
From the error that you're getting it seems to me that you are passing a key in the wrong format. The key needs to be in XML format.
Did you generate the key using CryptoAPI? or are you trying to use a key from somewhere else?
The key was generated filling the Public Key field with data. Thanks for the clue, but I have to create a longer key because I get this message: RSA keys must be at least 512 bits long. How can I create a Key using a data enough longer?