Show in graph
SEC

Software → Security

Encryption

The transformation of readable data into unreadable ciphertext so only authorized parties can recover the original data.

Motivation

Encryption solves the problem of protecting information from being read by unauthorized parties.

Where it fits

Encryption belongs to security and cryptography.

Mental model

Encryption transforms plaintext into ciphertext using a key, so only parties with the right key can recover the original data.

Common mistakes

  • Thinking encryption automatically proves identity.
  • Confusing encryption with hashing.

Encryption connects to symmetric encryption, asymmetric encryption, TLS, public-key cryptography, and key exchange.