TechBizAcademy

18Cryptography & Encoding: Telling Them Apart

Base64, hex, Caesar and hashes — what each one actually is, and why calling encoding "encryption" is dangerous.

0 / 0
root@techbiz-lab — practice range
root@techbiz-lab:~#

About this lab

Encoding, hashing and encryption get used interchangeably in conversation and they are three different things. Encoding is reversible by anyone and protects nothing. Hashing is one-way. Encryption is reversible with a key.

Confusing them has real consequences: treating Base64 as protection, or storing passwords with a fast hash, or reporting "encrypted" when the data is merely encoded. Recognising each on sight is a small skill that prevents large mistakes.

What you will do

  1. Recognise Base64, hex and URL encoding by their character sets and padding.
  2. Decode layered encoding back to the original value.
  3. Identify hash algorithms by length and format, and explain why hashing is not encryption.
  4. Break a classical cipher and see why key length and key reuse matter.
  5. Classify a mixed set of samples: encoded, hashed or encrypted.

Where this is used

Comes up constantly — in tokens, in configuration files, in malware strings, in CTF challenges. Knowing instantly whether something can simply be decoded or needs cracking saves a great deal of wasted effort.

Simulated environment — no real systems are contacted. Only ever test systems you own or are authorised in writing to test.