Encryption Observer

Glossary The basics

Encoding, hashing and encryption

Encoding changes how data is written so computers can handle it, and anyone can reverse it. Hashing makes a fixed fingerprint that cannot be reversed. Encryption scrambles data so only someone with the key can reverse it.

Think of it like this

Encoding is translating a note into Morse code. Hashing is taking its fingerprint. Encryption is locking it in a box.

Encoding, hashing, encryption, MACs and hiding side by sideGives no secrecyProtects data, in its own wayOnly encryption makes data unreadable without a key. The others do different jobs and are often confused with it.
  1. Encoding Changes how data is written so computers can carry it. Anyone can reverse it. Example: Base64 in email attachments, percent-encoding in web addresses Never use it to hide anything.
  2. Hashing Makes a fixed fingerprint that cannot be turned back into the original. Example: Password storage, file checks Easy-to-guess inputs can still be found by trying them.
  3. Encryption Scrambles data so only someone with the key can read it. Example: Messages, disks, websites The only one of the five that keeps the content secret.
  4. Message authentication code A short tag, made with a shared key, that shows the data has not been changed. Example: Every secure web connection Proves integrity, not secrecy.
  5. Steganography Hides the fact that a message exists, for example inside a photo. Example: Digital watermarks Usually combined with encryption in case it is found.

Why it matters

Mixing them up causes real security failures, such as companies 'protecting' passwords with an encoding that anyone can undo.

Where you meet it

Base64 text in emails and web addresses (encoding), password storage (hashing), and everything in this glossary (encryption).

Go deeper history and technical detail

Base64, hexadecimal and URL encoding provide no secrecy at all. Hashing has no key, so it cannot hide data that is easy to guess, which is why passwords need salts and slow hashes. Encryption is the only one of the three designed to keep a secret from someone who does not hold the key.

Related terms

Cite this page Encryption Observer, “Encoding, hashing and encryption”, encryption.observer/terms/encoding-vs-encryption/, checked December 2026.