Skip to Content
Understanding Bitcoin: Cryptography, Engineering and Economics
book

Understanding Bitcoin: Cryptography, Engineering and Economics

by Pedro Franco
November 2014
Intermediate to advanced
288 pages
9h 44m
English
Wiley
Content preview from Understanding Bitcoin: Cryptography, Engineering and Economics

CHAPTER 5Public Key Cryptography

Bitcoin is a cryptocurrency. This highlights the importance of cryptography in Bitcoin’s design. Without cryptography Bitcoin could not have existed. This chapter serves the purpose of both introducing cryptography and highlighting the main public key cryptography algorithms used in Bitcoin. Additional cryptographic protocols will be introduced throughout the book when describing applications that make use of them. A single chapter does not do justice to the subject, and the treatment here is necessarily shallow and incomplete. Cryptography is a very deep subject, and the interested reader is encouraged to consult a cryptography textbook, such as Paar and Pelzl (2010), Katz and Lindell (2007), or Ferguson et al. (2010).

Cryptography is the science of communicating securely in the presence of adversaries, who can listen in and even control the communication channel. Classical (symmetric) cryptography is concerned with encryption. That is, converting a message to a ciphertext. A ciphertext is apparent nonsense to the adversary listening on the communication channel, but the recipient knows how to translate it to the original message.

Cryptographers recommend that the encryption algorithm is made public and that only the encryption key is kept secret. This is known as Kerckhoffs’s Principle. The rationale behind this principle is that it is easy to make an encryption algorithm that cannot be broken by its creator1. But it is very hard to make ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Public-key Cryptography: Theory and Practice

Public-key Cryptography: Theory and Practice

Abhijit Das, C. E. Veni Madhavan
Cryptocurrency Mining For Dummies

Cryptocurrency Mining For Dummies

Peter Kent, Tyler Bain
Learning Bitcoin

Learning Bitcoin

Richard Caetano

Publisher Resources

ISBN: 9781119019145Purchase book