Re: Encryption
From: casey chesnut (casey_at_MORE_spam_PLEASEbrains-N-brawn.com)
Date: 10/21/04
- Next message: Chris Tacke, eMVP: "Re: SQL Server tutorial"
- Previous message: Alex Feinman [MVP]: "Re: Call a DLL function using a BSTR parameter"
- In reply to: Carlos Fernandez: "Encryption"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 21 Oct 2004 12:03:54 -0500
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
"Carlos Fernandez" <CarlosFernandez@discussions.microsoft.com> wrote in
message news:A0B6D46D-8F9F-4394-9930-256C2ABDAEAB@microsoft.com...
>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.
>
- Next message: Chris Tacke, eMVP: "Re: SQL Server tutorial"
- Previous message: Alex Feinman [MVP]: "Re: Call a DLL function using a BSTR parameter"
- In reply to: Carlos Fernandez: "Encryption"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|