Re: Example needed: Encrypt/Decrypt string with Private/Public key
From: Michel Gallant (neutron_at_istar.ca)
Date: 09/09/03
- Previous message: Sergio C.: "Re: Example needed: Encrypt/Decrypt string with Private/Public key"
- In reply to: Sergio C.: "Re: Example needed: Encrypt/Decrypt string with Private/Public key"
- Next in thread: Sergio C.: "Re: Example needed: Encrypt/Decrypt string with Private/Public key"
- Reply: Sergio C.: "Re: Example needed: Encrypt/Decrypt string with Private/Public key"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 8 Sep 2003 23:08:42 -0400
See digital signature sample, and related signature verification sample at:
You can send someone your public key credentials by:
oRSACryptoServiceProvider.ExportParameters(false)
and then serialize to file the returned RSAParameters instance.
End users use deserialize and use:
oRSACryptoServiceProvider.ImportParameters(oRSAParameters)
- Michel Gallant
MVP Security
"Sergio C." <sergiocmBORRAESTOyEsto@telefonica.net> wrote in message
news:OplPgxndDHA.2332@TK2MSFTNGP11.phx.gbl...
>
> > - encrypt a hash with your private key (a digital signature) so others
> can verify
> > content integrity using your public key
>
> I need to do that, do you have an example??
>
>
> Sergio C.
>
>
- Previous message: Sergio C.: "Re: Example needed: Encrypt/Decrypt string with Private/Public key"
- In reply to: Sergio C.: "Re: Example needed: Encrypt/Decrypt string with Private/Public key"
- Next in thread: Sergio C.: "Re: Example needed: Encrypt/Decrypt string with Private/Public key"
- Reply: Sergio C.: "Re: Example needed: Encrypt/Decrypt string with Private/Public key"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]