I would like to understand the difference between Encoding
, Encryption
and Hashing
and also examples of when using one or the other.
I would like to understand the difference between Encoding
, Encryption
and Hashing
and also examples of when using one or the other.
Simplistic definition
Definition
Examples
Encoding:
Encryption:
Hashing:
Sources of SOpt itself:
Encoding , sometimes called "serialization", is to get some information (eg a set of characters) and represent it ("encode" it) by means of a sequence of symbols (eg, an array of bytes). Usually when talking about encoding is referring to character encoding ("character encoding"), which is like abstract texts (sequences of #
) are expressed in bytes (either for transport or for internal processing).