Make your public key protocols smaller and more secure with this accessible guide to Elliptic Curve Cryptography.
Elliptic Curve Cryptography for Developers introduces the mathematics of elliptic curves—a powerful alternative to the prime number-based RSA encryption standard. You’ll learn to deliver zero-knowledge proofs and aggregated multi-signatures that are not even possible with RSA mathematics. All you need is the basics of calculus you learned in high school.
Elliptic Curve Cryptography for Developers includes:
• Clear, well-illustrated introductions to key ECC concepts
• Implementing efficient digital signature algorithms
• State of the art zero-knowledge proofs
• Blockchain applications with ECC-backed security
The book gradually introduces the concepts and subroutines you’ll need to master with diagrams, flow charts, and accessible language. Each chapter builds on what you’ve already learned, with step-by-step guidance until you’re ready to write embedded systems code with advanced mathematical algorithms.
Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications.
About the technology
The Elliptic Curve Cryptography (ECC) protocol secures everything from credit card transactions to the blockchain. With a little C code, high school calculus, and the techniques in this book, you can implement ECC cryptographic protocols that are smaller and more secure than the RSA-based systems in common use today.
About the book
Elliptic Curve Cryptography for Developers teaches you how ECC protocols work and how to implement them seamlessly in C code. Unlike academic cryptography books, this practical guide sticks to the minimum math and theory you need to get the job done. Author Mike Rosing illustrates each concept with clear graphics, detailed code, and hands-on exercises. As you go, you’ll practice what you learn by building two encryption systems for a blockchain application.
What's inside
• Efficient digital signature algorithms
• Zero-knowledge proofs
• ECC security for blockchain applications
About the reader
Readers need to understand basic calculus. Examples in C.
About the author
Michael Rosing’s career as a scientist, hardware engineer, and software developer includes high-energy physics, telephone switch engineering, and developing vision devices for the blind.
The technical editor on this book was Mark Bissen.
Table of Contents
1 Pairings over elliptic curves in cryptography
Part 1
2 Description of finite field mathematics
3 Explaining the core of elliptic curve mathematics
4 Key exchange using elliptic curves
5 Prime field elliptic curve digital signatures explained
6 Finding good cryptographic elliptic curves
Part 2
7 Description of finite field polynomial math
8 Multiplication of polynomials explained
9 Computing powers of polynomials
10 Description of polynomial division using Euclid’s algorithm
11 Creating irreducible polynomials
12 Taking square roots of polynomials
Part 3
13 Finite field extension curves described
14 Finding low embedding degree elliptic curves
15 General rules of elliptic curve pairing explained
16 Weil pairing defined
17 Tate pairing defined
18 Exploring BLS multi-signatures
19 Proving knowledge and keeping secrets: Zero knowledge using pairings
Appendix A Code and tools
Appendix B Hilbert class polynomials
Appendix C Variables list
About the Author
Mike Rosing’s career spans high energy physics to telephone switch engineering. Working at Argonne National Lab as a high-energy physicist, he helped construct a Wakefield particle accelerator. For the past 20 years he worked in several companies on various projects, including developing vision devices for the blind, radar for measuring heart rate in cattle, and modeling high speed signaling on computer boards. He holds a patent and is author on many technical publications.
Ebook License
End-User Warranty And License Agreement
1. Grant Of License
Manning Has Authorized The Download By You Of An Unrestricted Number Of Copies Of The Electronic Book (Ebook) In Any Of The Available Formats. Manning Grants You A Nonexclusive, Nontransferable License To Use The Ebook According To The Terms And Conditions Herein. This License Agreement Permits You To Install The Ebook On Any And All Your Devices For Your Personal Use Only.
2. Restrictions
You Shall Not: (1) Share, Resell, Rent, Assign, Timeshare, Distribute, Or Transfer All Or Part Of The Ebook Or Any Rights Granted Hereunder To Any Other Person; (2) Duplicate The Ebook, Except For A Single Backup Or Archival Copy; (3) Remove Any Proprietary Notices, Labels, Or Marks From The Ebook; (4) Transfer Or Sublicense Title To The Ebook To Any Other Party.
3. Intellectual Property Protection
The Ebook Is Owned By Manning And Is Protected By United States And International Copyright And Other Intellectual Property Laws. Manning Reserves All Rights In The Ebook Not Expressly Granted Herein. This License And Your Right To Use The Ebook Terminate Automatically If You Violate Any Part Of This Agreement. In The Event Of Termination, You Must Remove The Original And Any Copies Of The Ebook From All Your Devices.
4. Source Code Supplementary Material
Any Source Code Files Provided As A Supplement To The Book Are Freely Available To The Public For Download. Reuse Of The Code Is Permitted, In Whole Or In Part, Including The Creation Of Derivative Works, Provided That You Acknowledge That You Are Using It And Identify The Source: Title, Publisher And Year.
5. Limited Warranty
Manning Warrants That The Ebook Files, A Copy Of Which You Are Authorized To Download, Are Free From Defects In The Operational Sense That They Can Be Read By A Pdf Reader Or Epub Reader, Or Other. Except For This Express Limited Warranty, Manning Makes And You Receive No Warranties, Express, Implied, Statutory Or In Any Communication With You, And Manning Specifically Disclaims Any Other Warranty Including The Implied Warranty Of Merchantability Or Fitness Or A Particular Purpose. Manning Does Not Warrant That The Operation Of The Ebook Will Be Uninterrupted Or Error Free. If The Ebook Was Purchased In The United States, The Above Exclusions May Not Apply To You As Some States Do Not Allow The Exclusion Of Implied Warranties. In Addition To The Above Warranty Rights, You May Also Have Other Rights That Vary From State To State.
6. Limitation Of Liability
In No Event Will Manning Be Liable For Any Damages, Whether Arising For Tort Or Contract, Including Loss Of Data, Lost Profits, Or Other Special, Incidental, Consequential, Or Indirect Damages Arising Out Of The Use Or Inability To Use The Ebook.
7. General
This Agreement Constitutes The Entire Agreement Between You And Manning And Supersedes Any Prior Agreement Concerning The Ebook. This Agreement Is Governed By The Laws Of The State Of New York