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. Visual Basic
  4. Encryption

Encryption

Scheduled Pinned Locked Moved Visual Basic
csharpalgorithmssecurityhelp
4 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.
  • K Offline
    K Offline
    KreativeKai
    wrote on last edited by
    #1

    I'm new to encryption, but have been searching high and low for answers for the past three days. Our bank wants us to FTP our payroll file via PGP. In the past we've used a modem to transfer the file. Years ago we used DOS command files, then VB6 and over five or six years ago I rewrote it in .NET. I'm trying to basically code a FTP solution which is working fine with the bank. I just need code to encrypt the file in a PGP format prior to uploading. There are several fine "Simplified Encryption" articles and VB solutions on CodeProject, but none of them really address PGP. There is a C# wrapper to GNUPG which is accessed using an ASP webservice. I could have my Windows app access a Windows service to pull this webservice wrapper tied to the GNUPG.org windows app. Of course as soon as GNUPG.org puts out a new version my payroll app could break. Isn't there a simpler way to encrypt the file in PGP format for the bank using .NET? Any help is appreciated :confused:

    Lost in the vast sea of .NET

    D 1 Reply Last reply
    0
    • K KreativeKai

      I'm new to encryption, but have been searching high and low for answers for the past three days. Our bank wants us to FTP our payroll file via PGP. In the past we've used a modem to transfer the file. Years ago we used DOS command files, then VB6 and over five or six years ago I rewrote it in .NET. I'm trying to basically code a FTP solution which is working fine with the bank. I just need code to encrypt the file in a PGP format prior to uploading. There are several fine "Simplified Encryption" articles and VB solutions on CodeProject, but none of them really address PGP. There is a C# wrapper to GNUPG which is accessed using an ASP webservice. I could have my Windows app access a Windows service to pull this webservice wrapper tied to the GNUPG.org windows app. Of course as soon as GNUPG.org puts out a new version my payroll app could break. Isn't there a simpler way to encrypt the file in PGP format for the bank using .NET? Any help is appreciated :confused:

      Lost in the vast sea of .NET

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      None of the .NET Framework versions come with a PGP implementation. You'll have to use a third party library to do this. This[^] article looks promising.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008
      But no longer in 2009...

      K 1 Reply Last reply
      0
      • D Dave Kreskowiak

        None of the .NET Framework versions come with a PGP implementation. You'll have to use a third party library to do this. This[^] article looks promising.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008
        But no longer in 2009...

        K Offline
        K Offline
        KreativeKai
        wrote on last edited by
        #3

        I was hoping for a .NET Framework solution. I'm currently thinking about switching to SSL / TLS for a secure FTP. It looks like all I have to do is add EnableSSL = True to my ftp class. I'm still researching this, because the PGP solution was not simple at all and this seems way too simple. Thanks for your answer! You've answered many of my questions over the past many years and it is always appreciated.

        Lost in the vast sea of .NET

        D 1 Reply Last reply
        0
        • K KreativeKai

          I was hoping for a .NET Framework solution. I'm currently thinking about switching to SSL / TLS for a secure FTP. It looks like all I have to do is add EnableSSL = True to my ftp class. I'm still researching this, because the PGP solution was not simple at all and this seems way too simple. Thanks for your answer! You've answered many of my questions over the past many years and it is always appreciated.

          Lost in the vast sea of .NET

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          You're welcome!

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008
          But no longer in 2009...

          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