Encoding & Cryptography Basics
Base64, Caesar ciphers, binary, and why unsalted password hashes are a gift to attackers.
Data gets transformed all the time: to send it safely, to hide it, or to verify it. Knowing the difference between encoding, encryption, and hashing is one of the most important basics in security.
1
Encoding is not encryption
Encoding changes how data is represented so it can be stored or sent safely. It uses no key, so anyone can reverse it.
Base64 is the most common encoding you'll meet. It turns any bytes into letters, digits,
+and/, often with=padding at the end. Spot those and you've probably found Base64.Decode it in the DevTools console:
jsatob("SGVsbG8=") // "Hello"2
The Caesar cipher
⚑ Report a problem with this room
Log in to report a problem.