Re: RSA encryption and decryption!!!!
From: Alek Davis (alek_DOT_davis_AT_intel_DOT_com)
Date: 03/28/03
- Next message: David Wang [Msft]: "Re: URGENT... mixed anonymous and integrated security issue"
- Previous message: Mike Gashler [MS]: "Re: AllowPartiallyTrustedCallersAttribute"
- In reply to: Pieter Philippaerts: "Re: RSA encryption and decryption!!!!"
- Next in thread: Michel Gallant \(MVP\): "Re: RSA encryption and decryption!!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Alek Davis" <alek_DOT_davis_AT_intel_DOT_com> Date: Thu, 27 Mar 2003 16:52:34 -0800
Actually, you can (at least in theory). Public-private keys can be used
interchangeably, i.e. you encrypt with one (normally public, but can be
private) and decrypt with the other (normally, private, but can be public).
In most cases, encrypting with private key makes little sense (since anyone
can be able to decrypt data), but it can be done. Unfortunately, I cannot
tell you if you can - and if so how to - do it in .NET, because I haven't
done it myself. Maybe someone else knows.
-- Alek
"Pieter Philippaerts" <pieter@nospam.mentalis.org> wrote in message
news:u6W4jwJ9CHA.2412@TK2MSFTNGP10.phx.gbl...
> "shahzad" <shah_100_pk@hotmail.com> wrote in message
> news:u#x#bVI9CHA.1808@TK2MSFTNGP12.phx.gbl...
> > i want to know that how can you Encrypt the data with PRIVATE key and
> > Decrypt it with PUBLIC key.
>
> You can't. That's the point of public key cryptography.
>
> Regards,
> Pieter Philippaerts
> http://www.mentalis.org/
>
>
- Next message: David Wang [Msft]: "Re: URGENT... mixed anonymous and integrated security issue"
- Previous message: Mike Gashler [MS]: "Re: AllowPartiallyTrustedCallersAttribute"
- In reply to: Pieter Philippaerts: "Re: RSA encryption and decryption!!!!"
- Next in thread: Michel Gallant \(MVP\): "Re: RSA encryption and decryption!!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|