Encoding vs Encrypting
-
Can someone tell me the difference between
Encoding
andEncryption
? 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."
-
Can someone tell me the difference between
Encoding
andEncryption
? 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."
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!
-
Can someone tell me the difference between
Encoding
andEncryption
? 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."
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.
-
Can someone tell me the difference between
Encoding
andEncryption
? 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."
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] }
-
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!
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
-
Can someone tell me the difference between
Encoding
andEncryption
? 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."
-
Can someone tell me the difference between
Encoding
andEncryption
? 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."
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