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 File Encryption

RSA File Encryption

Scheduled Pinned Locked Moved C#
securityperformancequestion
2 Posts 2 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.
  • Y Offline
    Y Offline
    yccheok
    wrote on last edited by
    #1

    i am currently doing comparison on the performance of DES and RSA. i had oledi finished the code on DES. however, i cannot find any information on RSA. i was wondering whether u have any sample code/information on RSA file encryption? would u share it with me? thank you very much. regards yccheok

    B 1 Reply Last reply
    0
    • Y yccheok

      i am currently doing comparison on the performance of DES and RSA. i had oledi finished the code on DES. however, i cannot find any information on RSA. i was wondering whether u have any sample code/information on RSA file encryption? would u share it with me? thank you very much. regards yccheok

      B Offline
      B Offline
      Burt Harris
      wrote on last edited by
      #2

      RSA encryption is typically not used for bulk encryption, like a whole file. Instead what would typically be done would be done is to use a symmetrical-key encryption (like DES, RC-2 or RC-4) to using a randomly selected key, then encrypt this key using RSA so that it can be sent along with the encrypted file. This might be a good starting point for you: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/cryptographic_keys.asp Burt Harris

      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