Cryptography
Cryptography is the study and application of mathematical techniques for protecting information and communications through confidentiality, integrity, authentication, and related security properties.
Hacking Cryptography
The practice and study of securing information and communications through mathematical techniques such as encryption, authentication, and digital signatures.
- How it is used
- Frames confidentiality, integrity, and authenticity as security goals for protecting digital data and communications.
- How deep it goes
- Explains implementation failures and key-management models while explicitly deferring underlying mathematical theory.
- Examples
- Uses a mailed lockbox, internet packets, PlayStation 3 key recovery, power analysis, and symmetric and asymmetric key exchange.
- What you can do after
- Evaluate/understand why implementation flaws and key handling can defeat cryptographic security goals.
Real-World Cryptography
The practice and study of protecting information and communications against unauthorized access or manipulation using mathematical techniques.
- How it is used
- Secures protocols and applications against adversaries while providing confidentiality, authentication, security, and privacy.
- How deep it goes
- Defines protocols, primitives, classifications, and practical concerns, but stops short of making readers production cryptography experts.
- Examples
- Uses an unattended sword protocol, confidential messaging, online banking, messaging, lost phones, AES, and RSA to ground the concept.
- What you can do after
- Evaluate cryptographic choices, recognize suspicious designs, and identify when expert attention is needed without rolling custom cryptography into production.
Software Security for Developers
Cryptography is the study and practice of securing information and communications through mathematical techniques such as encryption and digital signatures.
- How it is used
- Frames cryptography as a practical foundation for protecting data, communications, identities, and service interactions.
- How deep it goes
- Explains goals, algorithm categories, and relationships among standards while stopping short of mathematical proofs.
- Examples
- Uses an e-commerce payment architecture, browser and API messages, hashes, HMAC, and working Java examples.
- What you can do after
- Apply cryptographic basics and published standards through Java libraries to make safer application-security design choices.
Read how Software Security for Developers explains cryptography →
Fundamentals of Cybersecurity
Cryptography is the discipline of protecting information through mathematical techniques for encoding, authentication, integrity verification, and related security properties.
- How it is used
- Protects data confidentiality and integrity across its lifecycle, supporting secure communication, authentication, and verification.
- How deep it goes
- Defines encryption, decryption, hashing, and key roles, then distinguishes symmetric from asymmetric encryption.
- What you can do after
- Understand how encryption and hashing protect confidentiality and integrity, and distinguish symmetric from asymmetric key use.
Read how Fundamentals of Cybersecurity explains cryptography →
Go in Practice, Second Edition
Cryptography is the discipline of protecting information and communications through techniques such as encryption, hashing, and authentication.
- How it is used
- Positions cryptography as a standard-library capability for networked Go applications that handle encryption.
- How deep it goes
- Mentions encryption and library availability but stops short of algorithms, code, configuration, and implementation trade-offs.
Read how Go in Practice, Second Edition explains cryptography →
Also covered in
- Elliptic Curve Cryptography for Developers
- Grokking Software ArchitectureIn early access (MEAP)
- Grokking Web Application Security
- Spring Security in Action, Second Edition
What to know first
- digital signatureA digital signature is a cryptographic value associated with data that can be verified to provide evidence of the data’s origin and integrity.
- encryptionEncryption is the cryptographic transformation of readable data into ciphertext that requires appropriate decryption information to recover the original data.
- hash functionA hash function is a deterministic function that maps input data to a hash value, typically of fixed size, for uses such as lookup, indexing, comparison, or integrity checking.
- AESAES is a standardized symmetric block cipher that encrypts and decrypts data in 128-bit blocks using 128-, 192-, or 256-bit keys.
Related concepts
- confidentialityaddresses · Confidentiality is the security property of protecting information from access or disclosure to unauthorized parties.
- data integrityaddresses · Data integrity is the property of data being accurate, complete, consistent, and valid throughout its storage, processing, and transfer.
- encryptionuses · Encryption is the cryptographic transformation of readable data into ciphertext that requires appropriate decryption information to recover the original data.
- complex systempart of · A complex system is a system whose collective behavior arises from interacting components and cannot be reliably understood by analyzing those components independently.
- cryptocurrencyuses · A cryptocurrency is a digital asset whose ownership and transfers are secured and recorded using cryptographic mechanisms, typically through a distributed ledger.
- nonrepudiationaddresses · Nonrepudiation is the security property of providing evidence linking an action or message to its purported originator, limiting credible denial.
Questions about cryptography
What is cryptography?
Cryptography is the study and application of mathematical techniques for protecting information and communications through confidentiality, integrity, authentication, and related security properties.
Which Manning books explain cryptography?
Hacking Cryptography, Real-World Cryptography, Software Security for Developers, Fundamentals of Cybersecurity and Go in Practice, Second Edition.
What should I know before learning cryptography?
Manning books that teach cryptography usually introduce digital signature, encryption, hash function and AES first.
What is cryptography part of?
Cryptography is part of complex system. A complex system is a system whose collective behavior arises from interacting components and cannot be reliably understood by analyzing those components independently.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.




