Cryptography and Network Security:
Principles and PracticeEighth Edition
Chapter 10
Other Public-Key Cryptosystems
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Diffie-Hellman Key Exchange
• First published public-key algorithm
• A number of commercial products employ this key
exchange technique
• Purpose is to enable two users to securely exchange a key
that can then be used for subsequent symmetric
encryption of messages
• The algorithm itself is limited to the exchange of secret
values
• Its effectiveness depends on the difficulty of computing
discrete logarithms
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Figure 10.1 The Diffie–Hellman Key
Exchange
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Figure 10.2 Man-in-the-Middle Attack
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
ElGamal Cryptography
• Announced in 1984 by T. Elgamal
• Public-key scheme based on discrete logarithms closely
related to the Diffie-Hellman technique
• Used in the digital signature standard (DSS) and the
S/MIME e-mail standard
• Global elements are a prime number q and a which is a
primitive root of q
• Security is based on the difficulty of computing discrete
logarithms
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Figure 10.3 The ElGamal
Cryptosystem
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Elliptic Curve Arithmetic
• Most of the products and standards that use public-key
cryptography for encryption and digital signatures use RSA
– The key length for secure RSA use has increased over
recent years and this has put a heavier processing load
on applications using RSA
• Elliptic curve cryptography (ECC) is showing up in
standardization efforts including the IEEE P1363 Standard
for Public-Key Cryptography
• Principal attraction of ECC is that it appears to offer equal
security for a far smaller key size
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Abelian Group
• A set of elements with a binary operation, denoted by •,
that associates to each ordered pair (a, b) of elements in G
an element (a • b) in G, such that the following axioms are
obeyed:
(A1) Closure: If a and b belong to G, then a • b is
also in G
(A2) Associative: a • (b • c) = (a • b) • c for all a, b, c
in G
(A3) Identity element: There is an element e in G such
that a • e = e • a = a for all a in G
(A4) Inverse element: For each a in G there is an element
a′ in G such that a • a′ = a′ • a = e
(A5) Commutative: a • b = b • a for all a, b in G
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Figure 10.4 Example of Elliptic
Curves
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Elliptic Curves Over Zp
• Elliptic curve cryptography uses curves whose variables and
coefficients are finite
• Two families of elliptic curves are used in cryptographic
applications:
• Prime curves over Zp
– Use a cubic equation in which the variables and coefficients
all take on values in the set of integers from 0 through p-1
and in which calculations are performed modulo p
– Best for software applications
• Binary curves over GF(2m)
– Variables and coefficients all take on values in GF(2m) and
in calculations are performed over GF(2m)
– Best for hardware applications
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Table 10.1 Points (other than O) on the
Elliptic Curve E23(1, 1)
(0, 1) (6, 4) (12, 19)
(0, 22) (6, 19) (13, 7)
(1, 7) (7, 11) (13, 16)
(1, 16) (7, 12) (17, 3)
(3, 10) (9, 7) (17, 20)
(3, 13) (9, 16) (18, 3)
(4, 0) (11, 3) (18, 20)
(5, 4) (11, 20) (19, 5)
(5, 19) (12, 4) (19, 18)
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Figure 10.5 The Elliptic Curve
E23(1, 1)
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Elliptic Curves Over GF(2m)
• Use a cubic equation in which the variables and
coefficients all take on values in GF(2m) for some number
m
• Calculations are performed using the rules of arithmetic in
GF(2m)
• The form of cubic equation appropriate for cryptographic
applications for elliptic curves is somewhat different for
GF(2m) than for Zp
– It is understood that the variables x and y and the
coefficients a and b are elements of GF(2m) and that
calculations are performed in GF(2m)
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Table 10.2 Points (other than O) on
the Elliptic Curve E24(g4, 1)
(0, 1) (g5, g3) (g9, g13)
(1, g6) (g5, g11) (g10, g)
(1, g13) (g6, g8) (g10, g8)
(g3, g8) (g6, g14) (g12, 0)
(g3, g13) (g9, g10) (g12, g12)
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Figure 10.6 The Elliptic Curve
E24(g4, 1)
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Elliptic Curve Cryptography (ECC)
• Addition operation in ECC is the counterpart of modular
multiplication in RSA
• Multiple addition is the counterpart of modular
exponentiation
• To form a cryptographic system using elliptic curves, we
need to find a “hard problem” corresponding to factoring
the product of two primes or taking the discrete logarithm
– Q=kP, where Q, P belong to a prime curve
– Is “easy” to compute Q given k and P
– But “hard” to find k given Q, and P
– Known as the elliptic curve logarithm problem
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Figure 10.7 ECC Diffie–Hellman Key
Exchange
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Security of Elliptic Curve
Cryptography
• Depends on the difficulty of the elliptic curve logarithm
problem
• Fastest known technique is “Pollard rho method”
• Compared to factoring, can use much smaller key sizes
than with RSA
• For equivalent key lengths computations are roughly
equivalent
• Hence, for similar security ECC offers significant
computational advantages
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Table 10.3 Comparable Key Sizes in
Terms of Computational Effort for
Cryptanalysis (NIST SP-800-57)
Symmetric Key
Algorithms
Diffie–Hellman, Digital
Signature Algorithm
RSA
(size of n in bits)
ECC (modulus size
in bits)
80 L = 1024
N = 1601024 160–223
112 L = 2048
N = 2242048 224–255
128 L = 3072
N = 2563072 256–383
192 L = 7680
N = 3847680 384–511
256 L = 15,360
N = 51215,360 512 +
Note: L = size of public key, N = size of private key.
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Summary
• Define Diffie-Hellman Key Exchange
• Understand the Man-in-the-middle attack
• Present an overview of the Elgamal cryptographic system
• Understand Elliptic curve arithmetic
• Present an overview of elliptic curve cryptography
• Present two techniques for generating pseudorandom numbers using an asymmetric cipher
Copyright © 2020 Pearson Education, Inc. All Rights Reserved.
Copyright
This work is protected by United States copyright laws and is
provided solely for the use of instructors in teaching their
courses and assessing student learning. Dissemination or sale of
any part of this work (including on the World Wide Web) will
destroy the integrity of the work and is not permitted. The work
and materials from it should never be made available to students
except by instructors using the accompanying text in their
classes. All recipients of this work are expected to abide by these
restrictions and to honor the intended pedagogical purposes and
the needs of other instructors who rely on these materials.
Why Work with Us
Top Quality and Well-Researched Papers
We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.
Professional and Experienced Academic Writers
We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.
Free Unlimited Revisions
If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.
Prompt Delivery and 100% Money-Back-Guarantee
All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.
Original & Confidential
We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.
24/7 Customer Support
Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.
Essays
No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.
Admissions
Admission Essays & Business Writing Help
An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.
Reviews
Editing Support
Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.
Reviews
Revision Support
If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.