Domain 3

Objective 3.6

Cryptographic solutions

Three different jobs that people call “encryption”

Using the wrong one is a classic mistake.

Symmetric

One shared secret key. Fast. Hard to share the key safely.

Asymmetric

A public key and a private key. Slower. Solves the sharing problem.

Hash

A fingerprint. You cannot turn it back into the original.

PKI

A trusted way to know whose public key is real.

What it is

Cryptography is math used to protect information. Symmetric encryption uses one shared secret key for both sides. It is fast, and the hard part is sharing the key safely. Asymmetric encryption uses a key pair: a public key you can share and a private key you keep. It is slower and solves the sharing problem. A hash is a fingerprint. You cannot turn the fingerprint back into the file. It shows whether the file changed. Elliptic-curve methods are one family of asymmetric math that gives strong security with smaller keys. PKI, a public key infrastructure, is the system of certificates and trusted authorities that tells you whose public key is real. Keys and algorithms have a life: choose them, protect them, rotate them, and retire them.

Why it matters

Using the wrong tool feels like cryptography and fails. Hashing a password is not the same as encrypting a document you must read later. A public key can be shared. A private key cannot. A certificate you do not validate is a nametag nobody checked. Quantum computers are a future pressure on some of today's public-key algorithms. You do not need the physics. You need to know that algorithm choice is not permanent, which is why crypto agility, the ability to change algorithms, matters.

A simple example

A house key copied for both roommates is symmetric: same secret, careful how you hand it over. A locked mailbox slot that anyone can drop mail into, but only you can open, is the public and private idea. A wax seal that shatters if the letter is opened is closer to a hash or a tamper-evident seal than to a lock you can unlock. PKI is the city office that issues ID cards so a stranger's mailbox key is not just a random piece of metal.

On the exam

Identify the job. Hide data you must read later: encryption. Notice a change: hash. Prove a public key belongs to someone: PKI and certificates. Share a secret with a stranger: asymmetric, often used to exchange a symmetric key. Never send the private key. Never invent your own algorithm. Key management is where real systems fail: keys in source code, keys never rotated, one key used forever everywhere.

Words worth keeping

Symmetric encryption
The same secret key encrypts and decrypts. Fast, but the key must be shared safely.
Hash
A one-way fingerprint used to detect change, not to recover the original.
PKI
The trusted system that binds public keys to identities with certificates.
Practice this section