13.1
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 13
Digital Signature
13.2
Objectives
 To define a digital signature
 To define security services provided by a digital
signature
 To define attacks on digital signatures
 To discuss some digital signature schemes, including
RSA, ElGamal,
 Schnorr, DSS, and elliptic curve
 To describe some applications of digital signatures
Chapter 13
13.3
13-1 COMPARISON
Let us begin by looking at the differences between
conventional signatures and digital signatures.
13.1.1 Inclusion
13.1.2 Verification Method 390
13.1.3 Relationship
13.1.4 Duplicity
Topics discussed in this section:
13.4
A conventional signature is included in the document; it
is part of the document. But when we sign a document
digitally, we send the signature as a separate document.
13.1.1 Inclusion
13.5
For a conventional signature, when the recipient receives
a document, she compares the signature on the document
with the signature on file. For a digital signature, the
recipient receives the message and the signature. The
recipient needs to apply a verification technique to the
combination of the message and the signature to verify
the authenticity.
13.1.2 Verification Method
13.6
For a conventional signature, there is normally a one-to-
many relationship between a signature and documents.
For a digital signature, there is a one-to-one relationship
between a signature and a message.
13.1.3 Relationship
13.7
In conventional signature, a copy of the signed document
can be distinguished from the original one on file. In
digital signature, there is no such distinction unless there
is a factor of time on the document.
13.1.4 Duplicity
13.8
13-2 PROCESS
Figure 13.1 shows the digital signature process. The
sender uses a signing algorithm to sign the message.
The message and the signature are sent to the receiver.
The receiver receives the message and the signature
and applies the verifying algorithm to the
combination. If the result is true, the message is
accepted; otherwise, it is rejected.
13.2.1 Need for Keys
13.2.2 Signing the Digest
Topics discussed in this section:
13.9
13-2 Continued
Figure 13.1 Digital signature process
13.10
13.2.1 Need for Keys
Figure 13.2 Adding key to the digital signature process
A digital signature needs a public-key system.
The signer signs with her private key; the verifier
verifies with the signer’s public key.
Note
13.11
13.2.1 Continued
A cryptosystem uses the private and public keys of
the receiver: a digital signature uses
the private and public keys of the sender.
Note
13.12
13.2.2 Signing the Digest
Figure 13.3 Signing the digest
13.13
13-3 SERVICES
We discussed several security services in Chapter 1
including message confidentiality, message
authentication, message integrity, and nonrepudiation.
A digital signature can directly provide the last three;
for message confidentiality we still need
encryption/decryption.
13.3.1 Message Authentication
13.3.2 Message Integrity
13.3.3 Nonrepudiation
13.3.4 Confidentiality
Topics discussed in this section:
13.14
A secure digital signature scheme, like a secure
conventional signature can provide message
authentication.
13.3.1 Message Authentication
A digital signature provides message authentication.
Note
13.15
The integrity of the message is preserved even if we sign
the whole message because we cannot get the same
signature if the message is changed.
13.3.2 Message Integrity
A digital signature provides message integrity.
Note
13.16
13.3.3 Nonrepudiation
Figure 13.4 Using a trusted center for nonrepudiation
Nonrepudiation can be provided using a trusted
party.
Note
13.17
13.3.4 Confidentiality
A digital signature does not provide privacy.
If there is a need for privacy, another layer of
encryption/decryption must be applied.
Figure 13.5 Adding confidentiality to a digital signature scheme
Note
13.18
13-4 ATTACKS ON DIGITAL SIGNATURE
This section describes some attacks on digital
signatures and defines the types of forgery.
13.4.1 Attack Types
13.4.2 Forgery Types
Topics discussed in this section:
13.19
13.4.1 Attack Types
Key-Only Attack
Known-Message Attack
Chosen-Message Attack
the attacker first learns signatures on arbitrary messages of the attacker's
choice.
the attacker is given valid signatures for a variety of messages known by
the attacker but not chosen by the attacker.
the attacker is only given the public verification key.
13.20
13.4.2 Forgery Types
Existential Forgery
Selective Forgery
Existential forgery is the creation (by an adversary) of
any message/signature pair (m,σ), where σ was not
produced by the legitimate signer.
Selective forgery is the creation (by an adversary) of
a message/signature pair (m,σ) where m has been
chosen by the adversary prior to the attack.
13.21
13-5 DIGITAL SIGNATURE SCHEMES
Several digital signature schemes have evolved during
the last few decades. Some of them have been
implemented.
13.5.1 RSA Digital Signature Scheme
13.5.2 ElGamal Digital Signature Scheme
13.5.3 Schnorr Digital Signature Scheme
13.5.4 Digital Signature Standard (DSS)
13.5.5 Elliptic Curve Digital Signature Scheme
Topics discussed in this section:
13.22
Key Generation
Key generation in the RSA digital signature scheme is
exactly the same as key generation in the RSA
13.5.1 Continued
In the RSA digital signature scheme, d is private;
e and n are public.
Note
13.23
Signing and Verifying
13.5.1 Continued
Figure 13.7 RSA digital signature scheme
13.24
13.5.1 Continued
As a trivial example, suppose that Alice chooses p = 823 and q =
953, and calculates n = 784319. The value of f(n) is 782544. Now
she chooses e = 313 and calculates d = 160009. At this point key
generation is complete. Now imagine that Alice wants to send a
message with the value of M = 19070 to Bob. She uses her private
exponent, 160009, to sign the message:
Example 13.1
Alice sends the message and the signature to Bob. Bob receives the
message and the signature. He calculates
Bob accepts the message because he has verified Alice’s signature.
13.25
RSA Signature on the Message Digest
13.5.1 Continued
Figure 13.8 The RSA signature on the message digest
13.26
13.5.1 Continued
When the digest is signed instead of the message
itself, the susceptibility of the RSA digital signature
scheme depends on the strength of the hash
algorithm.
Note
13.27
13.5.2 ElGamal Digital Signature Scheme
Figure 13.9 General idea behind the ElGamal digital signature scheme
13.28
Key Generation
The key generation procedure here is exactly the same as
the one used in the cryptosystem.
13.5.2 Continued
In ElGamal digital signature scheme, (e1, e2, p) is
Alice’s public key; d is her private key.
Note
13.29
Verifying and Signing
13.5.2 Continued
Figure 13.10 ElGamal digital signature scheme
13.30
13.5.3 Schnorr Digital Signature Scheme
Figure 13.11 General idea behind the Schnorr digital signature scheme
13.31
13.5.4 Digital Signature Standard (DSS)
Figure 13.13 General idea behind DSS scheme
13.32
DSS Versus RSA
Computation of DSS signatures is faster than
computation of RSA signatures when using the same p.
DSS Versus ElGamal
DSS signatures are smaller than ElGamal signatures
because q is smaller than p.
13.5.4 Continued
13.33
13.5.5 Elliptic Curve Digital Signature Scheme
Figure 13.15 General idea behind the ECDSS scheme
13.34
13-6 VARIATIONS AND APPLICATIONS
This section briefly discusses variations and
applications for digital signatures.
13.6.1 Variations
13.6.2 Applications
Topics discussed in this section:
13.35
13.6.1 Variations
Time Stamped Signatures
Sometimes a signed document needs to be time stamped to
prevent it from being replayed by an adversary. This is
called time-stamped digital signature scheme.
Blind Signatures
Sometimes we have a document that we want to get
signed without revealing the contents of the document to
the signer.

More Related Content

PDF
Navigating Post-Quantum Blockchain: Resilient Cryptography in Quantum Threats
PPTX
Moneypadppt 110917211442-phpapp02
PPT
Money pad the future wallet
PPTX
Moneypad- the future wallet
PPTX
voice browser
PPT
Voice morphing
PDF
Digital forensic
PPSX
Navigating Post-Quantum Blockchain: Resilient Cryptography in Quantum Threats
Moneypadppt 110917211442-phpapp02
Money pad the future wallet
Moneypad- the future wallet
voice browser
Voice morphing
Digital forensic

What's hot (20)

DOC
Voice Morphing
PPTX
Cryptography
PPT
Biometric encryption
PPTX
SPEAKER VERIFICATION
PPTX
Kerberos
PDF
An Image Encryption using Chaotic Based Cryptosystem
DOCX
Speech Recognition by Iqbal
PDF
Electronic mail security
PPT
Cryptography and Network Security William Stallings Lawrie Brown
DOCX
Money pad future wallet
PPTX
Honeypots and honeynets
PPTX
Elgamal & schnorr digital signature scheme copy
PPTX
PacNOG 23: Introduction to Crypto Jacking
PPT
Intruders and Viruses in Network Security NS9
PPTX
Concepts of Distributed Computing & Cloud Computing
PPTX
Steganography
PDF
CS6701 CRYPTOGRAPHY AND NETWORK SECURITY
PDF
Predicting cyber bullying on t witter using machine learning
PPTX
3d password ppt
PPTX
“Securing underwater wireless communication networks” 2
Voice Morphing
Cryptography
Biometric encryption
SPEAKER VERIFICATION
Kerberos
An Image Encryption using Chaotic Based Cryptosystem
Speech Recognition by Iqbal
Electronic mail security
Cryptography and Network Security William Stallings Lawrie Brown
Money pad future wallet
Honeypots and honeynets
Elgamal & schnorr digital signature scheme copy
PacNOG 23: Introduction to Crypto Jacking
Intruders and Viruses in Network Security NS9
Concepts of Distributed Computing & Cloud Computing
Steganography
CS6701 CRYPTOGRAPHY AND NETWORK SECURITY
Predicting cyber bullying on t witter using machine learning
3d password ppt
“Securing underwater wireless communication networks” 2
Ad

Similar to ch-13 Digital Signature FOR CNS STUDENTS (20)

PPT
C08 crypto-digital signature13
PPT
Digital signatures
PDF
Digital Signatures RSA DSS Algorithm Explained
PPT
digital_sign_interview.ppt
PPTX
Digital signturue
PPT
Digital signature
PDF
DEFEATING MITM ATTACKS ON CRYPTOCURRENCY EXCHANGE ACCOUNTS WITH INDIVIDUAL US...
PDF
DEFEATING MITM ATTACKS ON CRYPTOCURRENCY EXCHANGE ACCOUNTS WITH INDIVIDUAL US...
PPTX
Digital signature
PPTX
Digital signatur
PPT
ch13.ppt
PDF
SSL Secure socket layer
PPTX
Threshold cryptography
PPSX
3D PASSWORD
PDF
PROTOCOL ANALYSIS TO PREVENT STORM ATTACKS IN 3G MOBILE NETWORKS
PPT
Digital Signature
PPTX
Network Security Unit-2 topic Part-1.pptx
PDF
Generation of Anonymous Signature and Message using Identity Based Group Blin...
PPTX
Secrity project keyvan
C08 crypto-digital signature13
Digital signatures
Digital Signatures RSA DSS Algorithm Explained
digital_sign_interview.ppt
Digital signturue
Digital signature
DEFEATING MITM ATTACKS ON CRYPTOCURRENCY EXCHANGE ACCOUNTS WITH INDIVIDUAL US...
DEFEATING MITM ATTACKS ON CRYPTOCURRENCY EXCHANGE ACCOUNTS WITH INDIVIDUAL US...
Digital signature
Digital signatur
ch13.ppt
SSL Secure socket layer
Threshold cryptography
3D PASSWORD
PROTOCOL ANALYSIS TO PREVENT STORM ATTACKS IN 3G MOBILE NETWORKS
Digital Signature
Network Security Unit-2 topic Part-1.pptx
Generation of Anonymous Signature and Message using Identity Based Group Blin...
Secrity project keyvan
Ad

More from tpvvsreenivasarao (11)

PPT
funcrttionadl asfkjoefweno alsdfjoweefwf
PPTX
unit-4-part-1- spectroscopy2chemist.pptx
PPTX
BASIC TREE AND TYPES OF DI CONCEPTS.pptx
PPT
SOFTWAREENGINEERING CONCEPTS INJNTUK MO
PPT
CNS_06 DES ALGORITHM AND ITS IMPLEMENTAT
PPT
ch-15 Key-Management IN CNS STUDENTSASEE
PPT
AI algorithms with alpha beta stratagy 1
PPT
concepts-of-computer.ppt
PPTX
lec-9.pptx
PPT
i-Twin-Limitless-Pendrive-Technology.ppt
PPT
CSE WIBREE ppt.ppt
funcrttionadl asfkjoefweno alsdfjoweefwf
unit-4-part-1- spectroscopy2chemist.pptx
BASIC TREE AND TYPES OF DI CONCEPTS.pptx
SOFTWAREENGINEERING CONCEPTS INJNTUK MO
CNS_06 DES ALGORITHM AND ITS IMPLEMENTAT
ch-15 Key-Management IN CNS STUDENTSASEE
AI algorithms with alpha beta stratagy 1
concepts-of-computer.ppt
lec-9.pptx
i-Twin-Limitless-Pendrive-Technology.ppt
CSE WIBREE ppt.ppt

Recently uploaded (20)

PDF
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2013).pdf
PPTX
ACFE CERTIFICATION TRAINING ON LAW.pptx
PDF
Compact First Student's Book Cambridge Official
PDF
MICROENCAPSULATION_NDDS_BPHARMACY__SEM VII_PCI Syllabus.pdf
PPTX
Reproductive system-Human anatomy and physiology
PPTX
pharmaceutics-1unit-1-221214121936-550b56aa.pptx
PDF
Laparoscopic Colorectal Surgery at WLH Hospital
PDF
Civil Department's presentation Your score increases as you pick a category
PDF
Journal of Dental Science - UDMY (2021).pdf
PDF
Hospital Case Study .architecture design
PDF
anganwadi services for the b.sc nursing and GNM
PPTX
BSCE 2 NIGHT (CHAPTER 2) just cases.pptx
PPTX
UNIT_2-__LIPIDS[1].pptx.................
PPTX
Integrated Management of Neonatal and Childhood Illnesses (IMNCI) – Unit IV |...
PPTX
4. Diagnosis and treatment planning in RPD.pptx
PDF
Disorder of Endocrine system (1).pdfyyhyyyy
PDF
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2015).pdf
PDF
0520_Scheme_of_Work_(for_examination_from_2021).pdf
PDF
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf
PDF
Farming Based Livelihood Systems English Notes
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2013).pdf
ACFE CERTIFICATION TRAINING ON LAW.pptx
Compact First Student's Book Cambridge Official
MICROENCAPSULATION_NDDS_BPHARMACY__SEM VII_PCI Syllabus.pdf
Reproductive system-Human anatomy and physiology
pharmaceutics-1unit-1-221214121936-550b56aa.pptx
Laparoscopic Colorectal Surgery at WLH Hospital
Civil Department's presentation Your score increases as you pick a category
Journal of Dental Science - UDMY (2021).pdf
Hospital Case Study .architecture design
anganwadi services for the b.sc nursing and GNM
BSCE 2 NIGHT (CHAPTER 2) just cases.pptx
UNIT_2-__LIPIDS[1].pptx.................
Integrated Management of Neonatal and Childhood Illnesses (IMNCI) – Unit IV |...
4. Diagnosis and treatment planning in RPD.pptx
Disorder of Endocrine system (1).pdfyyhyyyy
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2015).pdf
0520_Scheme_of_Work_(for_examination_from_2021).pdf
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf
Farming Based Livelihood Systems English Notes

ch-13 Digital Signature FOR CNS STUDENTS

  • 1. 13.1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 13 Digital Signature
  • 2. 13.2 Objectives  To define a digital signature  To define security services provided by a digital signature  To define attacks on digital signatures  To discuss some digital signature schemes, including RSA, ElGamal,  Schnorr, DSS, and elliptic curve  To describe some applications of digital signatures Chapter 13
  • 3. 13.3 13-1 COMPARISON Let us begin by looking at the differences between conventional signatures and digital signatures. 13.1.1 Inclusion 13.1.2 Verification Method 390 13.1.3 Relationship 13.1.4 Duplicity Topics discussed in this section:
  • 4. 13.4 A conventional signature is included in the document; it is part of the document. But when we sign a document digitally, we send the signature as a separate document. 13.1.1 Inclusion
  • 5. 13.5 For a conventional signature, when the recipient receives a document, she compares the signature on the document with the signature on file. For a digital signature, the recipient receives the message and the signature. The recipient needs to apply a verification technique to the combination of the message and the signature to verify the authenticity. 13.1.2 Verification Method
  • 6. 13.6 For a conventional signature, there is normally a one-to- many relationship between a signature and documents. For a digital signature, there is a one-to-one relationship between a signature and a message. 13.1.3 Relationship
  • 7. 13.7 In conventional signature, a copy of the signed document can be distinguished from the original one on file. In digital signature, there is no such distinction unless there is a factor of time on the document. 13.1.4 Duplicity
  • 8. 13.8 13-2 PROCESS Figure 13.1 shows the digital signature process. The sender uses a signing algorithm to sign the message. The message and the signature are sent to the receiver. The receiver receives the message and the signature and applies the verifying algorithm to the combination. If the result is true, the message is accepted; otherwise, it is rejected. 13.2.1 Need for Keys 13.2.2 Signing the Digest Topics discussed in this section:
  • 9. 13.9 13-2 Continued Figure 13.1 Digital signature process
  • 10. 13.10 13.2.1 Need for Keys Figure 13.2 Adding key to the digital signature process A digital signature needs a public-key system. The signer signs with her private key; the verifier verifies with the signer’s public key. Note
  • 11. 13.11 13.2.1 Continued A cryptosystem uses the private and public keys of the receiver: a digital signature uses the private and public keys of the sender. Note
  • 12. 13.12 13.2.2 Signing the Digest Figure 13.3 Signing the digest
  • 13. 13.13 13-3 SERVICES We discussed several security services in Chapter 1 including message confidentiality, message authentication, message integrity, and nonrepudiation. A digital signature can directly provide the last three; for message confidentiality we still need encryption/decryption. 13.3.1 Message Authentication 13.3.2 Message Integrity 13.3.3 Nonrepudiation 13.3.4 Confidentiality Topics discussed in this section:
  • 14. 13.14 A secure digital signature scheme, like a secure conventional signature can provide message authentication. 13.3.1 Message Authentication A digital signature provides message authentication. Note
  • 15. 13.15 The integrity of the message is preserved even if we sign the whole message because we cannot get the same signature if the message is changed. 13.3.2 Message Integrity A digital signature provides message integrity. Note
  • 16. 13.16 13.3.3 Nonrepudiation Figure 13.4 Using a trusted center for nonrepudiation Nonrepudiation can be provided using a trusted party. Note
  • 17. 13.17 13.3.4 Confidentiality A digital signature does not provide privacy. If there is a need for privacy, another layer of encryption/decryption must be applied. Figure 13.5 Adding confidentiality to a digital signature scheme Note
  • 18. 13.18 13-4 ATTACKS ON DIGITAL SIGNATURE This section describes some attacks on digital signatures and defines the types of forgery. 13.4.1 Attack Types 13.4.2 Forgery Types Topics discussed in this section:
  • 19. 13.19 13.4.1 Attack Types Key-Only Attack Known-Message Attack Chosen-Message Attack the attacker first learns signatures on arbitrary messages of the attacker's choice. the attacker is given valid signatures for a variety of messages known by the attacker but not chosen by the attacker. the attacker is only given the public verification key.
  • 20. 13.20 13.4.2 Forgery Types Existential Forgery Selective Forgery Existential forgery is the creation (by an adversary) of any message/signature pair (m,σ), where σ was not produced by the legitimate signer. Selective forgery is the creation (by an adversary) of a message/signature pair (m,σ) where m has been chosen by the adversary prior to the attack.
  • 21. 13.21 13-5 DIGITAL SIGNATURE SCHEMES Several digital signature schemes have evolved during the last few decades. Some of them have been implemented. 13.5.1 RSA Digital Signature Scheme 13.5.2 ElGamal Digital Signature Scheme 13.5.3 Schnorr Digital Signature Scheme 13.5.4 Digital Signature Standard (DSS) 13.5.5 Elliptic Curve Digital Signature Scheme Topics discussed in this section:
  • 22. 13.22 Key Generation Key generation in the RSA digital signature scheme is exactly the same as key generation in the RSA 13.5.1 Continued In the RSA digital signature scheme, d is private; e and n are public. Note
  • 23. 13.23 Signing and Verifying 13.5.1 Continued Figure 13.7 RSA digital signature scheme
  • 24. 13.24 13.5.1 Continued As a trivial example, suppose that Alice chooses p = 823 and q = 953, and calculates n = 784319. The value of f(n) is 782544. Now she chooses e = 313 and calculates d = 160009. At this point key generation is complete. Now imagine that Alice wants to send a message with the value of M = 19070 to Bob. She uses her private exponent, 160009, to sign the message: Example 13.1 Alice sends the message and the signature to Bob. Bob receives the message and the signature. He calculates Bob accepts the message because he has verified Alice’s signature.
  • 25. 13.25 RSA Signature on the Message Digest 13.5.1 Continued Figure 13.8 The RSA signature on the message digest
  • 26. 13.26 13.5.1 Continued When the digest is signed instead of the message itself, the susceptibility of the RSA digital signature scheme depends on the strength of the hash algorithm. Note
  • 27. 13.27 13.5.2 ElGamal Digital Signature Scheme Figure 13.9 General idea behind the ElGamal digital signature scheme
  • 28. 13.28 Key Generation The key generation procedure here is exactly the same as the one used in the cryptosystem. 13.5.2 Continued In ElGamal digital signature scheme, (e1, e2, p) is Alice’s public key; d is her private key. Note
  • 29. 13.29 Verifying and Signing 13.5.2 Continued Figure 13.10 ElGamal digital signature scheme
  • 30. 13.30 13.5.3 Schnorr Digital Signature Scheme Figure 13.11 General idea behind the Schnorr digital signature scheme
  • 31. 13.31 13.5.4 Digital Signature Standard (DSS) Figure 13.13 General idea behind DSS scheme
  • 32. 13.32 DSS Versus RSA Computation of DSS signatures is faster than computation of RSA signatures when using the same p. DSS Versus ElGamal DSS signatures are smaller than ElGamal signatures because q is smaller than p. 13.5.4 Continued
  • 33. 13.33 13.5.5 Elliptic Curve Digital Signature Scheme Figure 13.15 General idea behind the ECDSS scheme
  • 34. 13.34 13-6 VARIATIONS AND APPLICATIONS This section briefly discusses variations and applications for digital signatures. 13.6.1 Variations 13.6.2 Applications Topics discussed in this section:
  • 35. 13.35 13.6.1 Variations Time Stamped Signatures Sometimes a signed document needs to be time stamped to prevent it from being replayed by an adversary. This is called time-stamped digital signature scheme. Blind Signatures Sometimes we have a document that we want to get signed without revealing the contents of the document to the signer.