Lion Cipher Lab

Encoding is not encryption: decode Base64, hex, and URL encoding

Why it matters

Encoded data is everywhere a security professional looks: Base64 shows up in email attachments, JSON Web Tokens, cookies, HTTP headers, data: URLs, and malware config blobs; hex fills hexdumps, hashes, and packet captures; URL percent-encoding wraps every space and special character in a web request. Analysts decode this stuff constantly to read what a token, a payload, or a piece of malware is actually saying. The single most important lesson is the one beginners get wrong: encoding looks scrambled but keeps no secret — anyone can reverse it without a key. Confusing it with encryption leads…

What you'll learn

Steps in this lab

  1. What encoding is — and the trap word next to it
  2. Encode and decode Base64 with your own data (three ways)
  3. Prove it keeps no secret — decode a blob you didn't create
  4. Read hex — the other encoding you'll see constantly
  5. URL encoding — the %20 you've seen in every address bar
  6. The rule this whole lab was for — never encode to protect

Open the full interactive lab →