MrWebLover wrote:

I want to encrypt sensible Data with the Public key encryption so, that,
the destination application it can be decrypt, but NOT encrypt.

You should tell us more exactly what you want to do.


Two things for now:

- If you interchange public and private key be aware that often a
  fixed public exponent is used for RSA (e.g. e=17).

- You can use a RSA signature as an 'encrypted' session key for
  symmetric encryption. Using a symmetric algorithm for
  encryption/decryption of larger data is sensible anyway.

MM



Reply via email to