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. Algorithms
  4. Encoding vs Encrypting

Encoding vs Encrypting

Scheduled Pinned Locked Moved Algorithms
securityoraclevisual-studioalgorithmsjson
7 Posts 7 Posters 44 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
    HakunaMatada
    wrote on last edited by
    #1

    Can someone tell me the difference between Encoding and Encryption? I tried searching high and low but couldn't get any answer. Thanks for your time. :)

    --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

    S CPalliniC L M S 5 Replies Last reply
    0
    • H HakunaMatada

      Can someone tell me the difference between Encoding and Encryption? I tried searching high and low but couldn't get any answer. Thanks for your time. :)

      --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

      S Offline
      S Offline
      SHatchard
      wrote on last edited by
      #2

      I am not sure of an exact definition but as far as I am aware encoding is changing the way that the string is displayed, to mask it or change its format but is essentially in a fixed format and easily reversable. Encrypting masks the string with a key of some type (dependent on encryption type) and can usually be decrypted with the provided key. Some encryption cannot be unencrypted, such as MD5, but the same encrypted string can be compared for validation - useful for passwords. Not exactly a dictionary definition i know!

      P 1 Reply Last reply
      0
      • H HakunaMatada

        Can someone tell me the difference between Encoding and Encryption? I tried searching high and low but couldn't get any answer. Thanks for your time. :)

        --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

        CPalliniC Offline
        CPalliniC Offline
        CPallini
        wrote on last edited by
        #3

        Encoding a string has to do with its internal representation. For instance, UTF8 or UNICODE maybe different internal representations of the same string. On the other hand, encryption aims to alter the string in such way that its original content is not recognizable by unauthorized people. Usually encryption imply encoding, usually encoding doens't imply encryption. :)

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.

        In testa che avete, signor di Ceprano?

        1 Reply Last reply
        0
        • H HakunaMatada

          Can someone tell me the difference between Encoding and Encryption? I tried searching high and low but couldn't get any answer. Thanks for your time. :)

          --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          Hi, encoding is the process of mapping a collection of some type1 onto a collection of some type2, for instance you can encode the days of the week into the numbers 1 to 7; and the ASCII character encoding maps the character set we all know to a subset of 8-bit numbers. So it is a representation thing (a one-to-one mapping), often aiming at increasing readability or efficiency. encryption is the process of changing the representation in order to hide the content. the goal is not to make things easier, smaller, more economical; it is to hide the true meaning of things. :)

          Luc Pattyn


          try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }


          1 Reply Last reply
          0
          • S SHatchard

            I am not sure of an exact definition but as far as I am aware encoding is changing the way that the string is displayed, to mask it or change its format but is essentially in a fixed format and easily reversable. Encrypting masks the string with a key of some type (dependent on encryption type) and can usually be decrypted with the provided key. Some encryption cannot be unencrypted, such as MD5, but the same encrypted string can be compared for validation - useful for passwords. Not exactly a dictionary definition i know!

            P Offline
            P Offline
            Paul Conrad
            wrote on last edited by
            #5

            I'll add that MD5 isn't considered a strong encryption algorithm these days.

            "Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus

            1 Reply Last reply
            0
            • H HakunaMatada

              Can someone tell me the difference between Encoding and Encryption? I tried searching high and low but couldn't get any answer. Thanks for your time. :)

              --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

              M Offline
              M Offline
              MarkB777
              wrote on last edited by
              #6

              Wikipedia man!!! ;) Mark

              1 Reply Last reply
              0
              • H HakunaMatada

                Can someone tell me the difference between Encoding and Encryption? I tried searching high and low but couldn't get any answer. Thanks for your time. :)

                --- :beer: Hakuna-Matata :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: "I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

                S Offline
                S Offline
                Sathesh Sakthivel
                wrote on last edited by
                #7

                Encrypting a file means that one is altering it in order to conceal its contents. Encoding it means one is altering it because of technical reasons related to transmitting it (e.g., the Morse code).

                Regards, Satips.:rose: Don't walk in front of me, I may not follow; Don't walk behind me, I may not lead; Walk beside me, and just be my friend. - Albert Camus

                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