Encryption

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to write a small program that deencypt data in RSA. I was quite happy
to see that opennetcf provides this, but I've been googling around and people
seem to have a lot of problems with it.

Has anyone done this successfully?

I don't need to encrypt, only decrypt. The data will be generated and
encrypted in a .net desktop application.

Thanks.
 
RSA (and the crypto namespace) is used extensively by CF WSE.
take a look at the sample code for calling WSE from CF here:
http://www.brains-N-brawn.com/cfWSE2
from the WSE tests it can sign/verify and encrypt/decrypt between the
desktop.

the difficulty parts is that sometimes the KeyStore does not exist,
and you might have to create it (use the RSA constructor overload).
other difficulties are people understanding pub/priv key crypto:
-i sign a message to them with my private key.
they verify with my public key.
-i verify a message from them with their public key.
they would have signed with their private key.
-i encrypt a message to them with their public key.
they decrypt with their private key.
-i decrypt a message from them with my private key.
they would have encrypted with my public key.

Thanks,
casey
 
Back
Top