Digital Signature
Digital Signature
School of CSE 1
RSA Digital Signature
School of CSE 2
Signing and Verifying
School of CSE 3
Example
Chooses p = 823 and q = 953,
Calculates n = 784319 and (n) is 782544.
Chooses e = 313 and calculates d = 160009.
ed mod (n) =1.
Alice wants to send a message M = 19070 to Bob.
School of CSE 4
RSA Signature on the Message Digest
School of CSE 5
ElGamal Algorithm
School of CSE 6
ElGamal Digital Signature Scheme
School of CSE 8
Alice chooses p = 3119, e1 = 2, d= 127
Calculates e2 = 2127 mod 3119 = 1702.
Chooses r=307.
She announces e1, e2, and p publicly;
she keeps d secret.
E2^S1
School of CSE 10
Example 2
P=23, e1=5, r=9, d=3, M=9
e2=5^3 mod =10
S1= 5^9 mod 23= 11
S2= (7-3x11) X 9-1= 18 X 5 mod 22= 2
V1= 5 ^7 mod 23= 17
V2= 10^11 X 11^ 2 = 22 X 6 =17
School of CSE 11
Digital Signature Standard
School of CSE 12
DSS : Signing and Verifying
School of CSE 13
• Alice chooses q = 101 and p = 8081. e1=6968
• Chooses d = 61 and e2 = e d mod p = 2038.
• Alice can send a message to Bob. Assume that h(M) = 5000
School of CSE 15