
Practical Cryptography in Python
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
Develop a greater intuition for the proper use of cryptography. This book teaches the basics of writing cryptographic algorithms in Python, demystifies cryptographic internals, and demonstrates common ways cryptography is used incorrectly.
Cryptography is the lifeblood of the digital world's security infrastructure. From governments around the world to the average consumer, most communications are protected in some form or another by cryptography. These days, even Google searches are encrypted. Despite its ubiquity, cryptography is easy to misconfigure, misuse, and misunderstand.
Developers building cryptographic operations into their applications are not typically experts in the subject, and may not fully grasp the implication of different algorithms, modes, and other parameters. The concepts in this book are largely taught by example, including incorrect uses of cryptography and how "bad" cryptography can be broken. By digging into the guts of cryptography, you can experience what works, what doesn't, and why.
What You'll Learn
-
Understand where cryptography is used, why, and how it gets misused
- Know what secure hashing is used for and its basic properties
- Get up to speed on algorithms and modes for block ciphers such as AES, and see how bad configurations break
- Use message integrity and/or digital signatures to protect messages
- Utilize modern symmetric ciphers such as AES-GCM and CHACHA
- Practice the basics of public key cryptography, including ECDSA signatures
- Discover how RSA encryption can be broken if insecure padding is used
- Employ TLS connections for secure communications
- Find out how certificates work and modern improvements such as certificate pinning and certificate transparency (CT) logs
Who This Book Is For
IT administrators and software developers familiar with Python. Although readers may have some knowledge of cryptography, the book assumes that the reader is starting from scratch.
More details
Other editions
Additional editions

Persons
Dr. Seth James Nielson is the founder and chief scientist of Crimson Vista, Inc., a boutique computer security research and consulting company. He is also an adjunct professor at Johns Hopkins University where he teaches network security and has also served as the director of advanced research projects at the Information Security Institute. As part of his Hopkins work, he co-founded the cryptodoneright.org knowledge base, through a generous grant from Cisco.
Christopher K. Monson has a PhD in machine learning, and has spent over a decade at Google in various engineering, machine learning, and leadership roles. He has broad experience writing and teaching programming courses in multiple languages, and has worked in document password recovery, malware detection, and large-scale secure computing. He is currently serving as the chief technology officer at Data Machines Corp. and teaches cloud computing security as a lecturer at the Johns Hopkins University Information Security Institute.
Content
Chapter 1: Cryptography: More Than Secrecy.- Chapter 2: Hashing.- Chapter 3: Symmetric Encryption: Two Sides, One Key.- Chapter 4: Asymmetric Encryption: Public/Private Keys.- Chapter 5: Message Integrity, Signatures, and Certificates.- Chapter 6: Combining Asymmetric and Symmetric Algorithms.- Chapter 7: More Symmetric Crypto: Authenticated Encryption and Kerberos.- Chapter 8: TLS Communications.- Bibliography.-
System requirements
File format: PDF
Copy protection: Watermark-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use the free software Adobe Reader, Adobe Digital Editions, or any other PDF viewer of your choice (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or another reading app for eBooks, e.g., PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Watermark-DRM, a „soft” copy protection. This means that there are no technical restrictions to prevent illegal distribution. However, there is a personalised watermark embedded in the eBook that can be used to identify the purchaser of the eBook in the event of misuse and to provide evidence for legal purposes.
For more information, see our eBook Help page.