Re: RSA encrypting with the Private Key?
From: Ivan Medvedev [MS] (ivanmed_at_online.microsoft.com)
Date: 07/08/03
- Next message: Mike Mazar: "How to read certificate extension (Subject Alternative Name)?"
- Previous message: Ivan Medvedev [MS]: "Re: MACTripleDES using CryptoAPI"
- In reply to: Roberto Martinez-Brunet: "RSA encrypting with the Private Key?"
- Next in thread: Roberto Martinez-Brunet: "Re: RSA encrypting with the Private Key?"
- Reply: Roberto Martinez-Brunet: "Re: RSA encrypting with the Private Key?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 7 Jul 2003 15:25:16 -0700
Roberto -
there are two possible answers here, depending on whether your question is
theoretical or practical.
Practically: no, it can not be done, that is, with the existing classes/APIs
you can not just take a private key and encrypt data using it; RSA algorithm
was not designed for this use.
Theoretically: yes, it can be done, and in fact it is sort of being done
under the hood when you digitally sign something.
--Ivan
This message is provided "AS IS" with no warranties, and confers no rights.
"Roberto Martinez-Brunet" <rmbrunet@hotmail.com> wrote in message
news:eJGbpSMRDHA.712@TK2MSFTNGP12.phx.gbl...
> All,
>
> Using RSA, can the encryption be done with the private key and the
> decryption with the public? Would appreciate any help on this.
>
> Thanks!
>
> Roberto Martinez-Brunet
>
- Next message: Mike Mazar: "How to read certificate extension (Subject Alternative Name)?"
- Previous message: Ivan Medvedev [MS]: "Re: MACTripleDES using CryptoAPI"
- In reply to: Roberto Martinez-Brunet: "RSA encrypting with the Private Key?"
- Next in thread: Roberto Martinez-Brunet: "Re: RSA encrypting with the Private Key?"
- Reply: Roberto Martinez-Brunet: "Re: RSA encrypting with the Private Key?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|