You are on page 1of 18

Digital signatures of

IUB BD DHAKA
bangladesh
What is a digital signature

• A digital signature allows the holder of the secret key (the signing key)
to sign a document

• Everyone who knows the verification key can verify that the signature
is valid (correctness)

• No one can forge a signature even given the verification key even
though he is given a signature
Structure of digital signature
Structure of digital signature scheme (DSS)

• Correctness

• Unforgeability
• To be continued
DSS VS MAC
Mac forgery game

M ← {}
k

𝑚′
M ← 𝑀 ∪{𝑚′ } Repeat as many times
𝑡′ 𝑡 ′ ← 𝑚𝑎𝑐 𝑘 (𝑚′) as the adversary wants

Wins if
(𝑚,𝑡)
Signature forgery game

𝑣𝑘 M ← {}
𝑠 𝑘, 𝑣𝑘← 𝐺𝑒𝑛(1 𝑠)

𝑚′
M ← 𝑀 ∪{𝑚′ } Repeat as many times
𝑠𝑖𝑔 ′ 𝑠𝑖𝑔 ′ ← 𝑆𝑖𝑔𝑛 𝑠𝑘 (𝑚′ ) as the adversary wants

Wins if
(𝑚, 𝑠𝑖𝑔)
Definition of signature scheme

• Correctness:

• Unforgeability
• For all PPT adversary , there exists negligible function ,
Relation between macs and signatures

• Every signature scheme is a message authentication code.

• A mac scheme is not necessarily a signature.


• Without the key, it may be impossible to verify a mac.
Signatures are expensive

• They require public-key operations for each signature you wish to do.

• Hash functions are relatively cheap


Hash and sign

• Let be a signature scheme and let be a collision resistant hash


function, then the following


Security of hash and sign

• Let be a signature scheme and let be a collision resistant hash function, then the following

• Essentially the same proof as hash and mac


• Breaking security of this scheme means
• Finding a collision
• Finding a signature on an unsigned message
Interesting property of plaintext RSA

• Due to the fact that


RSA signature scheme

• Let denote the RSA encryption scheme


Insecure RSA signature scheme

• =
Secure RSA signature scheme
• Assumptions
• Random oracle (Hash function modeled as a random oracle
• where are prime

• =


Schnorr signature scheme

• Based on
• Group G
• Generator for G
• Random oracle
• Discrete logarithm
Schnorr signature scheme
• Requirement: Group , generator random oracle

• Output

• Output

You might also like