Skip to Content
Quantum Computing Explained
book

Quantum Computing Explained

by David McMahon
December 2007
Intermediate to advanced
332 pages
7h 28m
English
Wiley-IEEE Press
Content preview from Quantum Computing Explained

11

QUANTUM CRYPTOGRAPHY

Secure communication can be accomplished through key distribution, a method by which two parties who want to communicate privately share a key that is used to encrypt or scramble a message. Later the key can be used to recover or decrypt the message. Currently cryptographic keys are generated using mathematical algorithms that are hard but not impossible to break. In contrast, quantum cryptography is a method of key distribution that relies on the laws of physics to create a key. While not 100% safe, quantum cryptography offers huge advantages over traditional methods.

Before we get into quantum cryptography, let’s look at a toy example to see how messages can be encrypted. Suppose that two parties, denoted Alice and Bob as usual, want to share a private message. A trivial way to encrypt the message is to generate a key k that is just a number used to scramble up the message. We can add k to each character in the message, for example, converting a useful message into a scrambled bunch of meaningless characters. Let’s say that we are representing the capital letters of the alphabet using a binary code. Since there are 26 letters in the alphabet, and 25 = 32, we need at least five bits to encode the alphabet using binary. If we start with the first four letters A, B, C, D as 0, 1, 2, 3, then we can encode the letters in the following way:

image

If we just transmitted ...

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

Quantum Computing

Quantum Computing

Nihal Mehta
Quantum Computing For Dummies

Quantum Computing For Dummies

whurley, Floyd Earl Smith

Publisher Resources

ISBN: 9780470096994Purchase book