liveBook · Manning

Confidentiality

As explained in Hacking Cryptography

Confidentiality is the property that data is protected from being viewed by unauthorized parties.

Confidentiality protects data from being viewed by unauthorized parties. Cryptography achieves it by transforming readable data into an unintelligible form that only parties with the corresponding secret can unlock. Like a locked box sent through ordinary mail, encrypted data can travel across shared networks while eavesdroppers see only protected contents. section 1.1 section 1.2

The simplest implementation uses symmetric key encryption: one secret key encrypts the plaintext and decrypts the resulting ciphertext. Security must survive disclosure of the algorithm, source code, and design; only the key should remain secret. This requirement is Kerckhoff’s principle. section 1.2.1 section 1.2.1

Practical confidentiality guidance:

  • Use well-established cryptographic implementations rather than developing cryptography in-house for production. section 1.5
  • Treat interactions between cryptographic components as a source of subtle weaknesses, even when each component is well established. section 1.5
  • If writing cryptographic code from scratch is necessary, obtain broad expert review before deployment. section 1.5
Figure 1.1 Security goals of cryptography
figure

Use the security-goals figure to distinguish confidentiality from integrity and authenticity. section 1.1

Figure 1.2 Using symmetric keys for encryption and decryption
figure

Use the symmetric-encryption figure to trace plaintext encryption and ciphertext decryption with one shared key. section 1.2.1

How Hacking Cryptography covers it

How deep it goes
Explains the symmetric-key model and Kerckhoff’s principle, but defers detailed cipher construction and attack mechanics.
Examples
Uses locked boxes, stolen laptop drives, intercepted messages, Enigma, and symmetric encryption diagrams.
What it assumes
Assumes basic data-security context while introducing confidentiality, encryption, decryption, keys, and eavesdroppers from first principles.
What you can do after
Evaluate confidentiality designs by checking key secrecy, implementation robustness, and resistance to unauthorized disclosure.
How it connects
Links confidentiality with integrity, authenticity, symmetric key encryption, stream ciphers, and one-time pads.

Also explained in

Compare how 9 books explain confidentiality →

Related concepts

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