Reverse Encryption in .NET
From: James Chou (jameschou2000_at_yahoo.com)
Date: 02/26/04
- Next message: Sam: "pdf printing using ProcessStartInfo"
- Previous message: mklapp: "RE: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'."
- Next in thread: Hernan de Lahitte: "Re: Reverse Encryption in .NET"
- Reply: Hernan de Lahitte: "Re: Reverse Encryption in .NET"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 25 Feb 2004 16:24:48 -0800
Hi,
I saw several posts asking for reverse encryption (encrypt with
private key instead of public key) in .NET. I am having the same
question and wonder anybody has a good solution to it.
Basically, my client application generates a key pair and exports the
public key to server. The client application needs to encrypt a string
with the private key and send it to server. Server authenticates the
client after decrypts the stirng with the public key. It looks like a
very simple procedure but it seems impossible with the RSA encryption
provided by .NET. The Encrypt() method of RSACryptoServiceProvider
seems to do encryption with public key ONLY. It does use private key
to encrypt content when generating a signature though.
Does anybody have a solution to it? If .NET doesn't support it, is
there any way I can do it through Win32 CryptoAPI?
Thanks
James
- Next message: Sam: "pdf printing using ProcessStartInfo"
- Previous message: mklapp: "RE: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'."
- Next in thread: Hernan de Lahitte: "Re: Reverse Encryption in .NET"
- Reply: Hernan de Lahitte: "Re: Reverse Encryption in .NET"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|