An all-practical guide to the cryptography behind common tools and protocols that will help you make excellent security choices for your systems and applications.
In Real-World Cryptography, you will find:
Best practices for using cryptography
Diagrams and explanations of cryptographic algorithms
Implementing digital signatures and zero-knowledge proofs
Specialized hardware for attacks and highly adversarial environments
Identifying and fixing bad practices
Choosing the right cryptographic tool for any problem
Real-World Cryptography reveals the cryptographic techniques that drive the security of web APIs, registering and logging in users, and even the blockchain. You’ll learn how these techniques power modern security, and how to apply them to your own projects. Alongside modern methods, the book also anticipates the future of cryptography, diving into emerging and cutting-edge advances such as cryptocurrencies, and post-quantum cryptography. All techniques are fully illustrated with diagrams and examples so you can easily see how to put them into practice.
about the technology
Cryptography is the essential foundation of IT security. To stay ahead of the bad actors attacking your systems, you need to understand the tools, frameworks, and protocols that protect your networks and applications. This book introduces authentication, encryption, signatures, secret-keeping, and other cryptography concepts in plain language and beautiful illustrations.
about the book
Real-World Cryptography teaches practical techniques for day-to-day work as a developer, sysadmin, or security practitioner. There’s no complex math or jargon: Modern cryptography methods are explored through clever graphics and real-world use cases. You’ll learn building blocks like hash functions and signatures; cryptographic protocols like HTTPS and secure messaging; and cutting-edge advances like post-quantum cryptography and cryptocurrencies. This book is a joy to read—and it might just save your bacon the next time you’re targeted by an adversary after your data.
what's inside
Implementing digital signatures and zero-knowledge proofs
Specialized hardware for attacks and highly adversarial environments
Identifying and fixing bad practices
Choosing the right cryptographic tool for any problem
about the reader
For cryptography beginners with no previous experience in the field.
about the author
David Wong is a cryptography engineer. He is an active contributor to internet standards including Transport Layer Security.
concepts explained in this book
Transport Layer Security (TLS) is a cryptographic protocol that protects network communications through confidentiality, integrity, and authentication of communicating endpoints.
A nonce is a value intended for one-time use within a specified cryptographic, authentication, or authorization context.
A private key is secret cryptographic key material associated with a corresponding public key and used for operations such as signing or decryption.
A digital signature is a cryptographic value associated with data that can be verified to provide evidence of the data’s origin and integrity.
A public key is the openly distributable key in an asymmetric cryptographic pair, used for operations such as encrypting data or verifying signatures.
A cryptographic hash is a fixed-length digest computed deterministically from input data by a function designed to resist practical preimage, second-preimage, and collision attacks.
A certificate authority is a trusted entity that verifies identities and issues digitally signed certificates binding public keys to identities or domains.
Second pre-image resistance is the property that, given an input and its hash, finding a different input with the same hash is computationally infeasible.