Login  
Search All Forums
Dart Home | PowerTCP Sockets for .NET | Custom Development Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
AuthorForum: PowerTCP Sockets for .NET (Secure and Standard)
Topic: SymmetricCryptoStream - secret key management
giridharan

From: bangalore, India
Posts: 1
Member Since: 05/02/03
posted May 2, 2003 5:49 AM

Hi,

I have downloaded the PowerTCP SSL for .NET for 2 weeks back. Right now I am evaluating the product.

I have a doubt now it will be great if the support team at dart helps me to overcome this issue.

My doubt is while using the SymmetricCryptoStream for encrypting and decrypting the data, how the key which is used to encrypt the data will be transported to other end which decrypts the data. i.e how the key is managed or how it has to be managed.

currently i am hard coding the key at both end. My requirement is the byte array key has to be sent along with the message or it has to be transported to other end in some other way, but i don't know how to go for this.

pl. help.

Thanks & Regards
giri

Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted May 2, 2003 9:03 AM

Hello,

One of the big drawbacks to using secret key encryption is the problem of safely distributing secret keys. Historically, this has been done using manual distribution (mail, face-to-face meetings, etc) which has obvious drawbacks (although modern techniques include the use of such things as Key Distribution Centers).

Public key encryption was developed to address these problems. Is there a reason why you can't use the SslStream to encrypt your data using SSL?
Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX