Professional Documents
Culture Documents
ISS unit4
ISS unit4
ISS unit4
} Network [+————>|_ Receiver (B) Original Original Message Message M M jital Digital Signature Signature iS Ds Message Digest MD, Trust & Accept the Reject Original original Message(M) Message(M)ElGamal Digital Signature Scheme} i This scheme used the same keys but a a algorithm i The algorithm creates two digital signature these two signatures, a The key generation process is the same as | of El-gamal algorithms are used in the verification phase. The Public Key (e1,e2,p) and private key Signature This process works as follows oThe sender selects a random number r The sender computes the first signature s1 using s1=e1*rmodp The sender computes the second signature s2 using the equation 8 $2 =(M-d x s1) xr-1 mod (p-1) Where P= large prime number Mz original message that needs to be signed oThe sender sends M,s1,82 to the receiver. For eg. Let e1 = 10, e2 = 4, p=19, M=14, d=16 &r=5 Then, s1=e1* r mod p 10*5 mod 19 =3 $2=(M-dXs1)Xr *-1mod(p-1) =(14-16 x 3) x 5*-1 mod (18) =4 Then these signatures sland s2 are sent to the receiver.Bé-UWiTU AD Iy ALT UU ory Where P= large prime number M= original message that needs to be signed The sender sends M,s1,s2 to the receiver. For eg. Let e1 = 10, e2 = 4, p=19, M=14, d=16 & r=5 Then, s1=e1* rmod p 10*5 mod 19=3 $2=(M-dXs1)Xr “-1mod(p-1) =(14-16 x 3) x 5*-1 mod (18) = 4 Then these signatures s1and s2 are sent to the receiver. Verification This process works as follows. The receiver performs the 1st part of verification called v1 using the eat v1=e14M mod p The receiver performs the 2nd part of verification called as v2 using the a v2=e24s1 s14(s2) mod p HEg. v1=e14M mod p = 10414 mod 19 = 16 and \v2=e24s1 s14(s2) mod p=443 344 mod p = 5184 mod 19 = 16 ince v1=Vv2, the signature is valid.