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. The Lounge
  3. Hi. How do we go about cross platform encyrption?

Hi. How do we go about cross platform encyrption?

Scheduled Pinned Locked Moved The Lounge
csharplinuxalgorithmssecurityjson
6 Posts 6 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.
  • H Offline
    H Offline
    He is Cool
    wrote on last edited by
    #1

    Hi, Iam trying to implement a cross-platform encryption system. i.e, in windows i will encrypt a file and in Linux will try to decrypt it and viceversa. The same encryption algorithm can be used on both platforms. NET has Cryptography namespace in which all this algo are implemented and API's available. But when we go in to linux , we cannot use this .NET API's. so, some libraries muist be available to implement this algo in both platforms. I got some info on using OPENSSL libraries which i can use for implementing encryption algo. But some problems is ther when it comes to cross platform. So, need some guidelines and ideas for this. Please mail me if u had come across similar situation and help in the same. Thanks. Mani

    M J S M S 5 Replies Last reply
    0
    • H He is Cool

      Hi, Iam trying to implement a cross-platform encryption system. i.e, in windows i will encrypt a file and in Linux will try to decrypt it and viceversa. The same encryption algorithm can be used on both platforms. NET has Cryptography namespace in which all this algo are implemented and API's available. But when we go in to linux , we cannot use this .NET API's. so, some libraries muist be available to implement this algo in both platforms. I got some info on using OPENSSL libraries which i can use for implementing encryption algo. But some problems is ther when it comes to cross platform. So, need some guidelines and ideas for this. Please mail me if u had come across similar situation and help in the same. Thanks. Mani

      M Offline
      M Offline
      Matt Newman
      wrote on last edited by
      #2

      Stenography Sorry, really long day at work. Feel like being highly sarcastic. Matt Newman
      Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots

      1 Reply Last reply
      0
      • H He is Cool

        Hi, Iam trying to implement a cross-platform encryption system. i.e, in windows i will encrypt a file and in Linux will try to decrypt it and viceversa. The same encryption algorithm can be used on both platforms. NET has Cryptography namespace in which all this algo are implemented and API's available. But when we go in to linux , we cannot use this .NET API's. so, some libraries muist be available to implement this algo in both platforms. I got some info on using OPENSSL libraries which i can use for implementing encryption algo. But some problems is ther when it comes to cross platform. So, need some guidelines and ideas for this. Please mail me if u had come across similar situation and help in the same. Thanks. Mani

        J Offline
        J Offline
        Jeremy Falcon
        wrote on last edited by
        #3

        You could always use a cross platform library. ;P And look no further than home... Clickety[^] Jeremy Falcon

        1 Reply Last reply
        0
        • H He is Cool

          Hi, Iam trying to implement a cross-platform encryption system. i.e, in windows i will encrypt a file and in Linux will try to decrypt it and viceversa. The same encryption algorithm can be used on both platforms. NET has Cryptography namespace in which all this algo are implemented and API's available. But when we go in to linux , we cannot use this .NET API's. so, some libraries muist be available to implement this algo in both platforms. I got some info on using OPENSSL libraries which i can use for implementing encryption algo. But some problems is ther when it comes to cross platform. So, need some guidelines and ideas for this. Please mail me if u had come across similar situation and help in the same. Thanks. Mani

          S Offline
          S Offline
          Super Lloyd
          wrote on last edited by
          #4

          PGP, RSA, uh.. some other are all multiplatform! You could easily download the Blowfish algorithm (symetric algorithm) in C/Java/C#

          1 Reply Last reply
          0
          • H He is Cool

            Hi, Iam trying to implement a cross-platform encryption system. i.e, in windows i will encrypt a file and in Linux will try to decrypt it and viceversa. The same encryption algorithm can be used on both platforms. NET has Cryptography namespace in which all this algo are implemented and API's available. But when we go in to linux , we cannot use this .NET API's. so, some libraries muist be available to implement this algo in both platforms. I got some info on using OPENSSL libraries which i can use for implementing encryption algo. But some problems is ther when it comes to cross platform. So, need some guidelines and ideas for this. Please mail me if u had come across similar situation and help in the same. Thanks. Mani

            M Offline
            M Offline
            Mohammad Tarik
            wrote on last edited by
            #5

            If you were programming using C++, try Crypto++. Many algorithms are available, and can be compiled with many compilers on different platforms. Mohammed

            1 Reply Last reply
            0
            • H He is Cool

              Hi, Iam trying to implement a cross-platform encryption system. i.e, in windows i will encrypt a file and in Linux will try to decrypt it and viceversa. The same encryption algorithm can be used on both platforms. NET has Cryptography namespace in which all this algo are implemented and API's available. But when we go in to linux , we cannot use this .NET API's. so, some libraries muist be available to implement this algo in both platforms. I got some info on using OPENSSL libraries which i can use for implementing encryption algo. But some problems is ther when it comes to cross platform. So, need some guidelines and ideas for this. Please mail me if u had come across similar situation and help in the same. Thanks. Mani

              S Offline
              S Offline
              Shaun Wilde
              wrote on last edited by
              #6

              It shouldn't matter what code you use on each platform. If the encryption implementations are correct then it shouldn't matter if you encrypt your data on a windows box in C# and decrypt it on an old spectrum using basic. Each encryption algorithm comes with a set of test vectors that can be used to test this. The AES winner (Rjindael) is available in .NET and you can get the source online. e.gJavascript source[^].

              I'll be more enthusiastic about encouraging thinking outside the box when there's evidence of any thinking going on inside it. - pTerry
              www.many-monkeys.com

              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