What is the difference between Obfuscation, Hashing, and Encryption?

后端 未结 11 1866
终归单人心
终归单人心 2020-12-13 09:42

What is the difference between Obfuscation, Hashing, and Encryption?

Here is my understanding:

  • Hashing is a one-way algorithm; cannot be reversed
11条回答
  •  不思量自难忘°
    2020-12-13 10:27

    Obfuscation is hiding or making something harder to understand.

    Hashing takes an input, runs it through a function, and generates an output that can be a reference to the input. It is not necessarily unique, a function can generate the same output for different inputs.

    Encryption transforms the input into an output in a unique manner. There is a one-to-one correlation so there is no potential loss of data or confusion - the output can always be transformed back to the input with no ambiguity.

提交回复
热议问题