Thanks for taking the time to answer Brian.
Unfortunately I do not have the knowledge of Crypto to fully understand your
answer.
Here is the scenario, a business partner uses PGP for encryption.
They e-mail us their Diffie-Hellman public key and expect us to use it to
encrypt a text file to be sent to them.

Are you saying I can use the CryptoAPI to do a D-H exchange (not really sure
what that means) and then encrypt the file with one of the other symmetric
ciphers that System.Security.Cryptography supports?

Obviously I need your book which I ordered the other day.

Thanks in advance for any assistance.

Bill


-----Original Message-----
From: Brian LaMacchia [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 27, 2002 6:02 PM
To: [EMAIL PROTECTED]
Cc: dotnet discussion
Subject: RE: [DOTNET] Cryptography Namespace and Diffie-Hellman/DSS


Hi Bill,

There's currently no implementation of Diffie-Hellman key exchange in
the .NET Framework cryptography classes; you would need to call
CryptoAPI to do a D-H exchange.  DSS is supported, but of course that
algorithm only provides signature services.  Once you've done your D-H
key exchange to establish a shared secret, you can use that as your
session key with Rijndael, 3DES, or any of the other symmetric ciphers
using the System.Security.Cryptography classes.

Hope this helps,

                                        --Brian LaMacchia
                                          Co-author, .NET Framework
Security

-----Original Message-----
From: Booth, Bill [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 27, 2002 12:53 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET] Cryptography Namespace and Diffie-Hellman/DSS

Does anyone know if you can encrypt a file using a Diffie-Hellman/DSS
public
key with the .NET cryptography namespace or do you have to use
CryptoAPI?

Thanks for any info.
Bill

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to