Back to Lessons
Beginner
14 min

The Cryptographic Canvas: Visualizing Encryption for Everyday Understanding

Four ideas cover most of what people mean by “it's encrypted.” Shared keys, public keys, hashes, and signatures. They are not the same tool.

encryptioncryptographyhashingsignaturesbeginner

A locked box, and the part people skip

Plaintext is the readable message. Encryption scrambles it into ciphertext. Decryption turns it back, with the right key. Without the key, the scramble is the point.

The hard part is rarely the maths in the product you bought. The hard part is who has the key, where it lives, and whether you just emailed it.

Symmetric: one shared key

Same key locks and unlocks. AES is the usual one. It is fast, which is why it protects big files and the actual bytes of a web session.

Both sides must already share the key, and a leaked key opens everything that key protects. Rotating it means telling every holder, safely.

Asymmetric: a public and a private key

The public key can be shared. The private key stays with one party. Someone encrypts to your public key. Only your private key reads it.

This is slow for large files. Real systems use it to agree a symmetric key, then switch. That pairing is how HTTPS (TLS) carries a page.

A hash is not encryption

A hash (SHA-256 is the common one) turns input into a short fingerprint. Change one character and the fingerprint changes. You do not reverse a hash to get the file back. There is no key for that, because it is not a lock.

Password stores keep hashes, not the password. A leaked hash is still dangerous if the password was weak, because attackers can guess.

Signatures: a hash you can check

A signature is a hash of the message, locked with the signer's private key. Anyone with the public key can check two things: it matches this message, and the private key produced it.

That is integrity plus origin. It is not secrecy. A signed email can still be read by anyone who received it.

What to say when a vendor says “encrypted”

  • Encrypted where: on the disk, on the wire, or both?
  • Who holds the key: you, the vendor, or both?
  • Can the vendor read it if they are asked, or if they are breached?
  • Is the password travelling in a second channel that is not protected?

You do not need to implement AES. You need to notice when the word “encrypted” is doing the work of a key-management plan that nobody wrote down.