Possible Duplicate:
RSA Encryption, getting bad length
I am trying to encrypt a large string using RSA. .NET's default implementation lets me encrypt easily small strings, but when I pass large one it throws a CryptographyException: Bad length.
I would like to overcome this, but the problem is that I need to pass the encypted string to another application which I cannot modify (because it's not mine ;-)
So is there an RSA implementation which I can use to load X509 Public Key and then encrypt large strings?
Thank you