W
W
Weageoo2011-05-17 14:09:17
Programming
Weageoo, 2011-05-17 14:09:17

Does the concept of "coding" include the concept of "encryption"

Maybe a lamer question, but I would like to see a clear reasoned answer to it.

A more complete formulation:

1) Does the concept of "encoding" include the concept of "encryption"?
2) Is it possible to use the verb "encode" (encode) as a synonym for the verb "encrypt" (encrypt) (as its more generalized alternative)?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
B
burdakovd, 2011-05-17
@Weageoo

Encoding != encryption, I think you understand this yourself.
Encoding is an arbitrary transformation of the original information into another form. Often this is done to store/transmit data. In this case, the direct transformation is called the actual encoding, the reverse - decoding. Encoding == transformation (and not necessarily reversible, for example mp3).
Encryption is a special case of coding. In this case, unlike coding, the purpose of this transformation is fixed - preventing unauthorized access. Well, and (probably) encryption is necessarily reversible.
On points:
1) Yes.
2) As a synonym - definitely not. As a more general concept, in principle yes, but it is better to use the most specific term whenever possible.
3) Is it possible to encode messages using DES? Can. But to emphasize the purpose of such coding - the protection of information, it is better to use the word "encrypt".
Using base64, you can both encode information (as they do in email) and encrypt (although this encryption method is not very reliable), depending on the purpose of the application.
Some programs "encrypt" user passwords, and can do this even without using a master password, such as browsers. Despite the fact that there is no key (master password) - this process is called encryption, because of its semantics.

G
GaJetFan, 2011-05-17
@GaJetFan

In my opinion, these are different concepts, because: Encoding is a change in the shape of a signal to improve transmission (bringing it to a more convenient form), and encryption is a process in which open information becomes closed, i.e. protected. well, and vice versa. Well, or in other words - coding - transformation into code. and encryption is the protection of information, and possibly the code that was obtained after encoding.
But now there are two different points of view. For example, ordinary people (not programmers) think the same way as it is written in a quote from a dictionary.
Here is a quote from the explanatory dictionary:
Encryption (coding, encryption) - protection of a message (information) from unauthorized viewing or use, based on converting it into cipher text. Decipher this text, i.e. the original message can only be restored using the key used to encrypt it.
Examples of usage: block encryption - block encryption; irreversible encryption - irreversible encoding; private key encryption - encryption with an individual key; public key encryption - public key encryption; stream encryption - stream encryption.
But programmers think differently:
Encryption is a way of modifying a message so that its content is hidden. Encoding is the transformation of plain, understandable text into code. This implies that there is a one-to-one correspondence between the characters of the text and the character code - this is the fundamental difference between encoding and encryption.

H
Horse, 2011-05-17
@Horse

no. You can encode decimal numbers to binary, for example.
Encryption is 'inherited' from encoding - right.

W
Weageoo, 2011-05-17
@Weageoo

But what about compression coding (compression), arithmetic coding?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question