Re: symmetric key generation between server and client



Why not use SSL? It takes care of all of these details for you and has a
very well thought out algorithm for key exchange. If you take your security
seriously, you won't try to design your own but will use a proven one
instead. If you want to use a proven one, why not also use a proven
implementation that you don't have to debug and test.

You can easily layer SslStream over your sockets-based .NET app.

Another easy way to do this is to use NegotiateStream, but that assumes you
want to use Windows security on both ends of the pipe which you may not.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"YIguchi" <YIguchi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:10231E5D-1FC2-4F31-AA71-64C0150B98BC@xxxxxxxxxxxxxxxx
Hi,

I have developed a client and server application.
The client and server application are created using the socket
programming.
Now i want to send the data in encrypted format.

For that i want to generate the symmertric key. Can somebody provide me
the
pointers how symmetric key generation is negotiated between client and
server.

Regards,
y Iguchi


.



Relevant Pages

  • Re: Windows Authentication, Single sign on and Active Directory
    ... service proxy client fails to connect due to authentication failure and then ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... The server is always in the domain. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Schema modification ldif does work on replicated ADAM
    ... What is the LDIF file and command line you use for ldifde? ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... The server side error is: 0x202b A referral was returned from the ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM userProxy roadblock
    ... For the LDP binary shortcut, ... the domain the ADAM server is joined to? ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM Bind-Help required
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... I am trying to bind to an ADAM user account on ... ADAM server. ...
    (microsoft.public.windows.server.active_directory)
  • Re: How to add a user to a group and programatically see that in i
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... the server that it ...
    (microsoft.public.platformsdk.security)