RSA key exchange
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I've been able to generate RSA key pair, and exporting them to XML files, (thanks to tutorials found in this forum) The problem I'm facing is that I want to send the public key via socket communication to another server. I will then use the public key to encrypt a password, which will be use for symmetric encryption communication between the two hosts. I try sending the xml file, but I cannot seem to be able convert back to XML in the other end. so then I thought if I could send the public key as a "string" which I could just load on the other end. is this possible? or is there a better way to share this "password key" for symmetric encryption. Sorry if this is simple, I'm completely new to c# and programming. Thanks, JC