Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. RSA key exchange

RSA key exchange

Scheduled Pinned Locked Moved C#
csharpsysadminsecurityxmlhelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nyjcr
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups