SlideShare ist ein Scribd-Unternehmen logo
1 von 11
CS555 Topic 22 1
Cryptography
CS 555
Topic 22: Digital Schemes (2)
CS555 Topic 22 2
Outline and Readings
• Outline
• The DSA Signature Scheme
• Lamport’s one-time signature
• Blind signature
• Readings:
• Katz and Lindell: Chapter 12.1-
12.4
Topic 22 3
Digital Signature Algorithm (DSA)
Also known as Digital Signature Standard (DSS)
Key generation
• Select two prime numbers (p,q) such that q | (p-1)
• Early standard recommended p to be between 512
and 1024 bits, and q to be 160 bits
• Current recommendation for length: (1024,160),
(2048,224), (2048,256), and (3072,256).
– The size of q must resist exhaustive search
– The size of p must resist discrete log
• Choose g to be an element in Zp
* with order q
– Let  be a generator of Zp
*, and set g = (p-1)/q mod p
• Select 1  x  q-1; Compute y = gx mod p
Public key: (p, q, g, y)
Private key: x
CS555
Topic 22 4
DSA
Signing message M:
• Select a random integer k, 0 < k < q
• Compute
r = (gk mod p) mod q
s = k-1 ( h(M) + xr) mod q
• Signature: (r, s)
– Signature consists of two 160-bit numbers,
when q is 160 bit
CS555
Topic 22 5
DSA
Verification
• Verify 0 < r < q and 0 < s < q, if not, invalid
• Compute
u1 = h(M)s-1 mod q,
u2 = rs-1 mod q
• Valid iff r = (gu1 yu2 mod p) mod q
gu1 yu2 = gh(M)s^{-1} gxr s^{-1}
= g(h(M)+xr)s^{-1} = gk (mod p)
Signature: (r, s)
r = (gk mod p) mod q
s = k-1 ( h(M) + xr) mod q
CS555
DSA Security
• The value k must be unique and unpredictable.
• No security proof exists, even assuming that the
hash function is a random oracle.
• No vulnerability known either.
• Adopted as standard in 1991
– Main benefits over RSA, which helps its adoption, are
• One cannot use the implementation for encryption
• Signature size (320 bit) is smaller than RSA
CS555 Topic 22 6
Topic 22 7
One-Time Digital Signatures
• One-time digital signatures: digital schemes
used to sign,at most one message; otherwise
signature can be forged.
• A new public key is required for each signed
message.
• Advantage: signature generation and
verification are very efficient and is useful for
devices with low computation power.
CS555
Topic 22 8
Lamport One-time Signature
To sign one bit:
• Choose as secret keys x0, x1
– x0 represents ‘0’
– x1 represents ‘1’
• public key (y0,y1):
– y0 = f(x0),
– y1 = f(x1).
– Where f is a one-way function
• Signature is x0 if the message
is 0 or x1 if message is 1.
• To sign a message m, use
hash and sigh each bit of h(m)
CS555
Topic 22 9
Blind Signature Schemes
• A wants B’s signature on a message m, but
doesn’t want B to know the message m or the
signature
• Applications: electronic cash
– Goal: anonymous spending
– The bank signs a bank note, but A doesn’t want B to
know the note, as then B can associate the spending
of B with A’s identity
CS555
Topic 22 10
Chaum’s Bind Signature Protocol
Based on RSA
• Setup:
– B has public key (n,e) and private key d
– A has m
• Actions:
– (blinding) A picks random kZn-{0} computes m’=mke
mod n and sends to B
– (signing) B computes s’=(m’)d mod n and sends to A
– (unblinding) A computes s=s’k-1 mod n, which is B’s
signature on m
CS555
CS555 Topic 22 11
Coming Attractions …
• In the next two weeks
– Zero knowledge proof protocols
– Commitment schemes
– Secure function evaluation, Oblivious
transfer, secret sharing
– Identity based encryption & quantum
cryptography
• We will be using materials not in
the textbook

Weitere ähnliche Inhalte

Ähnlich wie 555_Spring12_topic22.ppt

Module 5-DSS.pptx crypto currency notes incoming
Module 5-DSS.pptx crypto currency notes incomingModule 5-DSS.pptx crypto currency notes incoming
Module 5-DSS.pptx crypto currency notes incomingVIKASHKUMAR34838
 
implementing the encryption in the JAVA.ppt
implementing the encryption in the JAVA.pptimplementing the encryption in the JAVA.ppt
implementing the encryption in the JAVA.pptMuhammadAbdullah311866
 
Public Key Cryptography
Public Key CryptographyPublic Key Cryptography
Public Key CryptographyGopal Sakarkar
 
Homomorphic Encryption
Homomorphic EncryptionHomomorphic Encryption
Homomorphic EncryptionVictor Pereira
 
Elliptic curve cryptography and zero knowledge proof
Elliptic curve cryptography and zero knowledge proofElliptic curve cryptography and zero knowledge proof
Elliptic curve cryptography and zero knowledge proofNimish Joseph
 
Elliptic Curve Cryptography and Zero Knowledge Proof
Elliptic Curve Cryptography and Zero Knowledge ProofElliptic Curve Cryptography and Zero Knowledge Proof
Elliptic Curve Cryptography and Zero Knowledge ProofArunanand Ta
 
Public_Key_Cryptography in crypto analysis.ppt
Public_Key_Cryptography in crypto analysis.pptPublic_Key_Cryptography in crypto analysis.ppt
Public_Key_Cryptography in crypto analysis.pptImmanImman6
 
Digital Signature Standard
Digital Signature StandardDigital Signature Standard
Digital Signature StandardSou Jana
 
Information and data security other public key cryptosystems
Information and data security other public key cryptosystemsInformation and data security other public key cryptosystems
Information and data security other public key cryptosystemsMazin Alwaaly
 
Timing Attack paper--pres--v.01
Timing Attack   paper--pres--v.01Timing Attack   paper--pres--v.01
Timing Attack paper--pres--v.01anasz3z3
 
digital signature algo.pptx
digital signature algo.pptxdigital signature algo.pptx
digital signature algo.pptxBLACKSPAROW
 
Digital signature algorithm (de la cruz, genelyn).ppt 2
Digital signature algorithm (de la cruz, genelyn).ppt 2Digital signature algorithm (de la cruz, genelyn).ppt 2
Digital signature algorithm (de la cruz, genelyn).ppt 2YooGenelyn
 
Presentation about RSA
Presentation about RSAPresentation about RSA
Presentation about RSASrilal Buddika
 
RSA-W7(rsa) d1-d2
RSA-W7(rsa) d1-d2RSA-W7(rsa) d1-d2
RSA-W7(rsa) d1-d2Fahad Layth
 
Public-Key Cryptography.pdfWrite the result of the following operation with t...
Public-Key Cryptography.pdfWrite the result of the following operation with t...Public-Key Cryptography.pdfWrite the result of the following operation with t...
Public-Key Cryptography.pdfWrite the result of the following operation with t...FahmiOlayah
 

Ähnlich wie 555_Spring12_topic22.ppt (20)

Module 5-DSS.pptx crypto currency notes incoming
Module 5-DSS.pptx crypto currency notes incomingModule 5-DSS.pptx crypto currency notes incoming
Module 5-DSS.pptx crypto currency notes incoming
 
implementing the encryption in the JAVA.ppt
implementing the encryption in the JAVA.pptimplementing the encryption in the JAVA.ppt
implementing the encryption in the JAVA.ppt
 
Common Crypto Pitfalls
Common Crypto PitfallsCommon Crypto Pitfalls
Common Crypto Pitfalls
 
Public Key Cryptography
Public Key CryptographyPublic Key Cryptography
Public Key Cryptography
 
Homomorphic Encryption
Homomorphic EncryptionHomomorphic Encryption
Homomorphic Encryption
 
Elliptic curve cryptography and zero knowledge proof
Elliptic curve cryptography and zero knowledge proofElliptic curve cryptography and zero knowledge proof
Elliptic curve cryptography and zero knowledge proof
 
Elliptic Curve Cryptography and Zero Knowledge Proof
Elliptic Curve Cryptography and Zero Knowledge ProofElliptic Curve Cryptography and Zero Knowledge Proof
Elliptic Curve Cryptography and Zero Knowledge Proof
 
6.hash mac
6.hash mac6.hash mac
6.hash mac
 
Public_Key_Cryptography in crypto analysis.ppt
Public_Key_Cryptography in crypto analysis.pptPublic_Key_Cryptography in crypto analysis.ppt
Public_Key_Cryptography in crypto analysis.ppt
 
Digital Signature Standard
Digital Signature StandardDigital Signature Standard
Digital Signature Standard
 
Information and data security other public key cryptosystems
Information and data security other public key cryptosystemsInformation and data security other public key cryptosystems
Information and data security other public key cryptosystems
 
Timing Attack paper--pres--v.01
Timing Attack   paper--pres--v.01Timing Attack   paper--pres--v.01
Timing Attack paper--pres--v.01
 
digital signature algo.pptx
digital signature algo.pptxdigital signature algo.pptx
digital signature algo.pptx
 
Digital signature algorithm (de la cruz, genelyn).ppt 2
Digital signature algorithm (de la cruz, genelyn).ppt 2Digital signature algorithm (de la cruz, genelyn).ppt 2
Digital signature algorithm (de la cruz, genelyn).ppt 2
 
Presentation about RSA
Presentation about RSAPresentation about RSA
Presentation about RSA
 
Computing on Encrypted Data
Computing on Encrypted DataComputing on Encrypted Data
Computing on Encrypted Data
 
encryption and decryption
encryption and decryptionencryption and decryption
encryption and decryption
 
RSA-W7(rsa) d1-d2
RSA-W7(rsa) d1-d2RSA-W7(rsa) d1-d2
RSA-W7(rsa) d1-d2
 
1508.07756v1
1508.07756v11508.07756v1
1508.07756v1
 
Public-Key Cryptography.pdfWrite the result of the following operation with t...
Public-Key Cryptography.pdfWrite the result of the following operation with t...Public-Key Cryptography.pdfWrite the result of the following operation with t...
Public-Key Cryptography.pdfWrite the result of the following operation with t...
 

Kürzlich hochgeladen

怎样办理伍伦贡大学毕业证(UOW毕业证书)成绩单留信认证
怎样办理伍伦贡大学毕业证(UOW毕业证书)成绩单留信认证怎样办理伍伦贡大学毕业证(UOW毕业证书)成绩单留信认证
怎样办理伍伦贡大学毕业证(UOW毕业证书)成绩单留信认证ehyxf
 
Top profile Call Girls In Ratlam [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Ratlam [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Ratlam [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Ratlam [ 7014168258 ] Call Me For Genuine Models We...nirzagarg
 
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制uodye
 
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样wsppdmt
 
Vashi Affordable Call Girls ,07506202331,Vasai Virar Charming Call Girl
Vashi Affordable Call Girls ,07506202331,Vasai Virar Charming Call GirlVashi Affordable Call Girls ,07506202331,Vasai Virar Charming Call Girl
Vashi Affordable Call Girls ,07506202331,Vasai Virar Charming Call GirlPriya Reddy
 
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证wpkuukw
 
Mankhurd Call Girls, 09167354423 Mankhurd Escorts Services,Mankhurd Female Es...
Mankhurd Call Girls, 09167354423 Mankhurd Escorts Services,Mankhurd Female Es...Mankhurd Call Girls, 09167354423 Mankhurd Escorts Services,Mankhurd Female Es...
Mankhurd Call Girls, 09167354423 Mankhurd Escorts Services,Mankhurd Female Es...Priya Reddy
 
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...samsungultra782445
 
Dubai Call Girls O525547819 Call Girls In Dubai (M0ist)
Dubai Call Girls O525547819 Call Girls In Dubai (M0ist)Dubai Call Girls O525547819 Call Girls In Dubai (M0ist)
Dubai Call Girls O525547819 Call Girls In Dubai (M0ist)kajalvid75
 
Call Girls Service Bharatpur 9332606886 High Profile Call Girls You Can Ge...
Call Girls Service Bharatpur   9332606886  High Profile Call Girls You Can Ge...Call Girls Service Bharatpur   9332606886  High Profile Call Girls You Can Ge...
Call Girls Service Bharatpur 9332606886 High Profile Call Girls You Can Ge...kumargunjan9515
 
Genuine Call Girls in Buldhana { 9332606886 } VVIP NISHA Call Girls Near 5 St...
Genuine Call Girls in Buldhana { 9332606886 } VVIP NISHA Call Girls Near 5 St...Genuine Call Girls in Buldhana { 9332606886 } VVIP NISHA Call Girls Near 5 St...
Genuine Call Girls in Buldhana { 9332606886 } VVIP NISHA Call Girls Near 5 St...Sareena Khatun
 
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一ougvy
 
Shimoga Escorts Service Girl ^ 9332606886, WhatsApp Anytime Shimoga
Shimoga Escorts Service Girl ^ 9332606886, WhatsApp Anytime ShimogaShimoga Escorts Service Girl ^ 9332606886, WhatsApp Anytime Shimoga
Shimoga Escorts Service Girl ^ 9332606886, WhatsApp Anytime Shimogameghakumariji156
 
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一uodye
 
Kadi - HiFi Call Girl Service Ahmedabad Phone No 8005736733 Elite Escort Serv...
Kadi - HiFi Call Girl Service Ahmedabad Phone No 8005736733 Elite Escort Serv...Kadi - HiFi Call Girl Service Ahmedabad Phone No 8005736733 Elite Escort Serv...
Kadi - HiFi Call Girl Service Ahmedabad Phone No 8005736733 Elite Escort Serv...gragchanchal546
 
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样ayoqf
 
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理uodye
 
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理uodye
 
Dubai Call Girls O525547819 Call Girls In Dubai<.> Full Dirty Services
Dubai Call Girls O525547819 Call Girls In Dubai<.> Full Dirty ServicesDubai Call Girls O525547819 Call Girls In Dubai<.> Full Dirty Services
Dubai Call Girls O525547819 Call Girls In Dubai<.> Full Dirty Serviceskajalvid75
 

Kürzlich hochgeladen (20)

怎样办理伍伦贡大学毕业证(UOW毕业证书)成绩单留信认证
怎样办理伍伦贡大学毕业证(UOW毕业证书)成绩单留信认证怎样办理伍伦贡大学毕业证(UOW毕业证书)成绩单留信认证
怎样办理伍伦贡大学毕业证(UOW毕业证书)成绩单留信认证
 
Top profile Call Girls In Ratlam [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Ratlam [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Ratlam [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Ratlam [ 7014168258 ] Call Me For Genuine Models We...
 
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
 
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样
 
Vashi Affordable Call Girls ,07506202331,Vasai Virar Charming Call Girl
Vashi Affordable Call Girls ,07506202331,Vasai Virar Charming Call GirlVashi Affordable Call Girls ,07506202331,Vasai Virar Charming Call Girl
Vashi Affordable Call Girls ,07506202331,Vasai Virar Charming Call Girl
 
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证
 
Mankhurd Call Girls, 09167354423 Mankhurd Escorts Services,Mankhurd Female Es...
Mankhurd Call Girls, 09167354423 Mankhurd Escorts Services,Mankhurd Female Es...Mankhurd Call Girls, 09167354423 Mankhurd Escorts Services,Mankhurd Female Es...
Mankhurd Call Girls, 09167354423 Mankhurd Escorts Services,Mankhurd Female Es...
 
Buy Abortion pills in Riyadh |+966572737505 | Get Cytotec
Buy Abortion pills in Riyadh |+966572737505 | Get CytotecBuy Abortion pills in Riyadh |+966572737505 | Get Cytotec
Buy Abortion pills in Riyadh |+966572737505 | Get Cytotec
 
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
 
Dubai Call Girls O525547819 Call Girls In Dubai (M0ist)
Dubai Call Girls O525547819 Call Girls In Dubai (M0ist)Dubai Call Girls O525547819 Call Girls In Dubai (M0ist)
Dubai Call Girls O525547819 Call Girls In Dubai (M0ist)
 
Call Girls Service Bharatpur 9332606886 High Profile Call Girls You Can Ge...
Call Girls Service Bharatpur   9332606886  High Profile Call Girls You Can Ge...Call Girls Service Bharatpur   9332606886  High Profile Call Girls You Can Ge...
Call Girls Service Bharatpur 9332606886 High Profile Call Girls You Can Ge...
 
Genuine Call Girls in Buldhana { 9332606886 } VVIP NISHA Call Girls Near 5 St...
Genuine Call Girls in Buldhana { 9332606886 } VVIP NISHA Call Girls Near 5 St...Genuine Call Girls in Buldhana { 9332606886 } VVIP NISHA Call Girls Near 5 St...
Genuine Call Girls in Buldhana { 9332606886 } VVIP NISHA Call Girls Near 5 St...
 
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一
 
Shimoga Escorts Service Girl ^ 9332606886, WhatsApp Anytime Shimoga
Shimoga Escorts Service Girl ^ 9332606886, WhatsApp Anytime ShimogaShimoga Escorts Service Girl ^ 9332606886, WhatsApp Anytime Shimoga
Shimoga Escorts Service Girl ^ 9332606886, WhatsApp Anytime Shimoga
 
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
 
Kadi - HiFi Call Girl Service Ahmedabad Phone No 8005736733 Elite Escort Serv...
Kadi - HiFi Call Girl Service Ahmedabad Phone No 8005736733 Elite Escort Serv...Kadi - HiFi Call Girl Service Ahmedabad Phone No 8005736733 Elite Escort Serv...
Kadi - HiFi Call Girl Service Ahmedabad Phone No 8005736733 Elite Escort Serv...
 
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样
 
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
 
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理
 
Dubai Call Girls O525547819 Call Girls In Dubai<.> Full Dirty Services
Dubai Call Girls O525547819 Call Girls In Dubai<.> Full Dirty ServicesDubai Call Girls O525547819 Call Girls In Dubai<.> Full Dirty Services
Dubai Call Girls O525547819 Call Girls In Dubai<.> Full Dirty Services
 

555_Spring12_topic22.ppt

  • 1. CS555 Topic 22 1 Cryptography CS 555 Topic 22: Digital Schemes (2)
  • 2. CS555 Topic 22 2 Outline and Readings • Outline • The DSA Signature Scheme • Lamport’s one-time signature • Blind signature • Readings: • Katz and Lindell: Chapter 12.1- 12.4
  • 3. Topic 22 3 Digital Signature Algorithm (DSA) Also known as Digital Signature Standard (DSS) Key generation • Select two prime numbers (p,q) such that q | (p-1) • Early standard recommended p to be between 512 and 1024 bits, and q to be 160 bits • Current recommendation for length: (1024,160), (2048,224), (2048,256), and (3072,256). – The size of q must resist exhaustive search – The size of p must resist discrete log • Choose g to be an element in Zp * with order q – Let  be a generator of Zp *, and set g = (p-1)/q mod p • Select 1  x  q-1; Compute y = gx mod p Public key: (p, q, g, y) Private key: x CS555
  • 4. Topic 22 4 DSA Signing message M: • Select a random integer k, 0 < k < q • Compute r = (gk mod p) mod q s = k-1 ( h(M) + xr) mod q • Signature: (r, s) – Signature consists of two 160-bit numbers, when q is 160 bit CS555
  • 5. Topic 22 5 DSA Verification • Verify 0 < r < q and 0 < s < q, if not, invalid • Compute u1 = h(M)s-1 mod q, u2 = rs-1 mod q • Valid iff r = (gu1 yu2 mod p) mod q gu1 yu2 = gh(M)s^{-1} gxr s^{-1} = g(h(M)+xr)s^{-1} = gk (mod p) Signature: (r, s) r = (gk mod p) mod q s = k-1 ( h(M) + xr) mod q CS555
  • 6. DSA Security • The value k must be unique and unpredictable. • No security proof exists, even assuming that the hash function is a random oracle. • No vulnerability known either. • Adopted as standard in 1991 – Main benefits over RSA, which helps its adoption, are • One cannot use the implementation for encryption • Signature size (320 bit) is smaller than RSA CS555 Topic 22 6
  • 7. Topic 22 7 One-Time Digital Signatures • One-time digital signatures: digital schemes used to sign,at most one message; otherwise signature can be forged. • A new public key is required for each signed message. • Advantage: signature generation and verification are very efficient and is useful for devices with low computation power. CS555
  • 8. Topic 22 8 Lamport One-time Signature To sign one bit: • Choose as secret keys x0, x1 – x0 represents ‘0’ – x1 represents ‘1’ • public key (y0,y1): – y0 = f(x0), – y1 = f(x1). – Where f is a one-way function • Signature is x0 if the message is 0 or x1 if message is 1. • To sign a message m, use hash and sigh each bit of h(m) CS555
  • 9. Topic 22 9 Blind Signature Schemes • A wants B’s signature on a message m, but doesn’t want B to know the message m or the signature • Applications: electronic cash – Goal: anonymous spending – The bank signs a bank note, but A doesn’t want B to know the note, as then B can associate the spending of B with A’s identity CS555
  • 10. Topic 22 10 Chaum’s Bind Signature Protocol Based on RSA • Setup: – B has public key (n,e) and private key d – A has m • Actions: – (blinding) A picks random kZn-{0} computes m’=mke mod n and sends to B – (signing) B computes s’=(m’)d mod n and sends to A – (unblinding) A computes s=s’k-1 mod n, which is B’s signature on m CS555
  • 11. CS555 Topic 22 11 Coming Attractions … • In the next two weeks – Zero knowledge proof protocols – Commitment schemes – Secure function evaluation, Oblivious transfer, secret sharing – Identity based encryption & quantum cryptography • We will be using materials not in the textbook