Quiz Entry - updated: 2026.07.14
What is the difference between encoding and encryption?
Encoding uses no key and is a static mapping (like ASCII); encryption uses a key to transform data securely.
This is a critical distinction:
| Property | Encoding (Codierung) | Encryption (Verschlüsselung) |
|---|---|---|
| Key used? | No | Yes |
| Purpose | Represent data in a different format | Protect data confidentiality |
| Reversibility | Always reversible by anyone who knows the scheme | Only reversible with the correct key |
| Security | None — it's not a security mechanism | Provides confidentiality |
Example: The word "Hallo" in different encodings:
| Char | H | a | l | l | o |
|---|---|---|---|---|---|
| ASCII | 072 | 097 | 108 | 108 | 111 |
| Binary | 0100 1000 | 0110 0001 | 0110 1100 | 0110 1100 | 0110 1111 |
| Hex | 48 | 61 | 6C | 6C | 6F |
Important: In symmetric cryptography, plaintext, ciphertext, and keys are typically represented in hexadecimal (HEX).
Tip: Base64, ASCII, UTF-8 are all encodings — never treat them as encryption! A common beginner mistake is thinking Base64 "encrypts" data.