liveBook · Manning

Encryption

As explained in Real-World Cryptography

Encryption is the transformation of plaintext into ciphertext so that the information is concealed from unauthorized parties.

Encryption hides information from unauthorized observers by transforming a readable message, called plaintext, into ciphertext: data that appears as random noise. The recipient uses the appropriate key to recover the original message. section 1.2 section 4.0

A simple symmetric-encryption exchange works in three stages:

  • Alice supplies a message and a secret key to ENCRYPT, producing the encrypted message. section 1.2
  • She sends the encrypted message across an untrusted path; passive observers should not learn the underlying content. section 1.2
  • Bob supplies the encrypted message and the same secret key to DECRYPT, recovering the original message. section 1.2

Alice’s letter to Bob

A messenger carries Alice’s letter through dangerous territory. Alice encrypts the letter before handing it over, so the messenger carries only noisy-looking data; Bob decrypts it after receiving the message.

How Real-World Cryptography covers it

How deep it goes
Defines encryption through black-box ENCRYPT and DECRYPT functions, stopping short of describing their internal construction.
Examples
Uses Alice’s letter, an untrusted messenger, a shared secret key, and the ENCRYPT–DECRYPT exchange.
What it assumes
Assumes basic cryptography vocabulary while introducing symmetric encryption and cryptographic primitives through a concrete scenario.
What you can do after
Evaluate/understand how a shared-key protocol conceals a message and lets an intended recipient recover it.
How it connects
Connects symmetric encryption with cryptographic primitives, authenticated encryption, message authentication codes, and asymmetric cryptography.

Also explained in

Compare how 16 books explain encryption →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Real-World Cryptography. The section links point to the parts of the book it draws on.