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