Hashing is not encryption

Hashing is not encryption

In a job interview years ago, the interviewer asked me to explain the difference between encryption, encoding, and hashing. At the time I was working for a company that specialized in encryption, so I took knowing the difference for granted. It wasn’t until much later that I understood how easily most folks confuse the three topics for one another.

Encoding

Taking data in one format and converting it to another

Remembering the difference

Encoding: a way of translating between different formats

Encryption

Requires a secret (a key, password, or passphrase) that is used to convert usable data into something indistinguishable from random noise

Hashing

Looks somewhat like encrypted messages

Source

Get in