Cover of Hacking Cryptography

EPUB · English

Hacking Cryptography

Write, break, and fix real-world implementations

Price and availability

$79.99

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Stores: US, UK, Canada, EU, Australia.

Sign in to buy

The price is re-checked by the server before payment.

For personal use under the eBook licence.

Format
EPUB
DRM
Not stated by the publisher
Language
English
Publisher
Manning
Published
27 May 2025
ISBN
9781638357438
Subjects
Coding theory & cryptology, Computing & information technology, Programming & scripting languages: general, Computer security, Network security, Coding theory and cryptology, Computing and Information Technology, Programming and scripting languages: general, Computer security, Network security

About this book

Learn how the good guys implement cryptography and how the bad guys exploit it.Everything we do in the digital world is protected by cryptography. But when pure math and algorithms are implemented in code, vulnerabilities emerge and can be exploited by hackers and bad actors. Hacking Cryptography details dozens of practical cryptographic implementations and then breaks down the flaws that adversaries use to exploit them.In Hacking Cryptography youll find unique guidance for understanding how cryptography has failed time and again, including:DUAL_EC_DRBG random number generation using backdoored constantsExploiting the RC4 stream cipher, as used in WEPBlock ciphers for padding oracle attacks and manipulation of initialization-vectorsExploiting hash functions by using length extension and rainbow table attacksImplementing RSA key generation vulnerable to short private exponents and exploiting it using the Weiner attackExploiting PKCS1.5 padding by using Bleichenbacher's signature-forgery attackIn Hacking Cryptography youll learn the common attack principles used against cryptographic security, and how to spot the implementation errors that make cryptography unsecure. Throughout, youll explore historical examples where popular cryptography has failed, such as the root key compromise for Sony PlayStation 3, and see what impact those failures have had on modern cryptography.About the technologyEven the strongest cryptographic systems in code and hardware leave cracks and vulnerabilities a would-be attacker can exploit. In this book, youll learn to write cryptographically secure code, sidestep common pitfalls, and assess new bugs and vulnerabilities as they are discovered.About the bookHacking Cryptography helps you secure your systems by revealing the lockpicks bad actors use to break cryptographic security. It dives deep into each exploit, explaining complex concepts through real-world analogies, annotated examples, and pseudo-codeno advanced mathematical knowledge required. As you read, authors Kamran Khan and Bill Cox demystify opaque cryptography concepts and techniques so youll understand the why behind each best practice.What's insideRandom number generator and backdoor constantsRC4 encryption and WiFi securityRainbow tables for cracking hashed passwordsLength extension and padding oracle exploitsAbout the readerFor software and security engineers. Examples in Go.About the authorKamran Khan is a software engineer with more than a decade of experience at Salesforce, Google, and Microsoft. Bill Cox is a software engineer with nearly forty years of experience in securing hardware and software. He conducts the crypto-writing workshop at Google.Table of Contents1 Introduction2 Random number generators3 Implementing and exploiting RNGs4 Stream ciphers5 Block ciphers6 Hash functions7 Message authentication codes8 Public-key cryptography9 Digital signatures10 Guidelines and common pitfalls for cryptographic implementations

Bibliographic data © Gardners Books Ltd.