liveBook · Manning

Encryption

As explained in Fundamentals of Cybersecurity

Encryption is the transformation of readable data into an encoded form that requires a corresponding key or process to recover.

Encryption turns readable data, called plaintext, into unreadable ciphertext. Decryption turns it back into plaintext. The process uses a cryptographic algorithm and a key, so authorized parties with the right key can recover the data. Its main job is confidentiality: keeping information from people who should not see it. section 14.2

The two main approaches differ in how they use keys:

  • Symmetric encryption uses one shared secret key for encryption and decryption. It is efficient, but sharing that key securely can be difficult. section 14.2 section 14.5
  • Asymmetric encryption uses a related pair of keys. A public key can be shared for encryption; its corresponding private key is kept confidential for decryption. Public Key Infrastructure (PKI) uses digital certificates to help establish that a public key is authentic. section 14.2 section 14.5

Protecting security logs

Security logs may contain user IDs, IP addresses, and system details useful to an attacker. Encrypting logs while they are stored and transmitted limits who can read them. If investigators also need to detect changes to a log, hashing or digital signatures provide that separate integrity check. section 12.6.3

Encryption is one layer of data protection, not a complete plan. An encrypted stored file may still be exposed during transmission, and information can be copied or carried away. Protect data across its lifecycle and pair encryption with controls such as data loss prevention, which detects and blocks unauthorized movement of sensitive information. section 14.0 section 3.3

How Fundamentals of Cybersecurity covers it

How deep it goes
Defines plaintext, ciphertext, decryption, algorithms, and keys; compares symmetric and asymmetric methods without detailing their mathematical operations.
Examples
Uses stored and transmitted security logs to show why sensitive information needs encryption and separate tamper detection.
What it assumes
Introduces plaintext, ciphertext, algorithms, and keys directly rather than assuming familiarity with cryptographic terminology.
What you can do after
Evaluate/understand it by distinguishing key-sharing approaches and recognizing when encryption needs complementary data-protection controls.
How it connects
Connects encryption to confidentiality, hashing, digital signatures, PKI, data loss prevention, and defense-in-depth.

Also explained in

Compare how 17 books explain encryption →

Related concepts

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