Proof of Signature Verification.

Posted by mady | Posted in | Posted on 12:33 AM

The purpose of this is to show that if M' = M, r' = r and s' = s in
the signature verification, then v = r'. Where, M is the sent message,
the pair of numbers r and s is signature of the message M. M' is the
received message, r' and s' is the received signature.
Before proving the final result, we state and prove following lemma.

Lemma:
Let p and q be primes so that q divides p – 1, h a positive integer
less than p, and
g = h (p-1)/q mod p.
Then g q mod p = 1, and if m mod q = n mod q, then g m mod p = g n mod p.
Proof:
We have,
g q mod p = (h (p- 1)/ q mod p) q mod p
= h (p-1) mod p
= 1 by Fermat's Little Theorem.

Now let m mod q = n mod q, i.e., m = n + k.q for some integer k. Then
g m mod p = g (n+k.q) mod p
= (g n .g k.q) mod p
= ((g n mod p) . (g q mod p) k) mod p
= g n mod p

Since, g q mod p = 1.
We are now ready to prove the main result.

THEOREM:
If M' = M, r' = r, and s' = s in the signature verification, then v = r'.
Proof: We have,
w = ( s' ) -1 mod q = s-1 mod q
u1 = ( ( SHA(M') ) w ) mod q = ( (SHA(M) ) w ) mod q
u2 = ( r' . w ) mod q = ( r . w ) mod q.
Now y = g x mod p,

So that by the lemma,

v = ( ( g u1 y u2 ) mod p ) mod q

= ( ( g SHA(M) . w . y r . w ) mod p) mod q

= ( ( g SHA(M) . w . g x .r. w ) mod p) mod q

= ( ( g ( SHA(M)+x.r ) . w ) mod p ) mod q.

Also,
s = ( k-1( SHA(M) + x.r ) ) mod q.

Hence,
w = ( k . ( SHA(M) + x.r )-1 ) mod q

( SHA(M) + x.r ) .w mod q = k mod q.

Thus by the lemma,
v = (gk mod p) mod q = r = r'.

Hence the theorem is proved.

Comments (8)

Thanks for posting this theorem. I tried to understand it but find it little difficult as you haven't provided sufficient detail about it. If possible please do provide some information so that it will be more easy to understand it.
digital signature software

Thanks For Sharing This, Very Interesting And Helpful Support Provide By this blog. Class 2 Digital Signature Certificate

I really enjoyed reading your blog, you have lots of great content. Please visit here:
Detective agency in Mumbai

Very nice blog on this website. It is really difficult to get this kind of with useful information. I will eagerly look forward to your upcoming updates. Thanks for sharing it here. we are the best Digital Signature provider in delhi.
Digital Signature mart

Superb and really very good informative blog. We are the best Detective Agency in Mumbai.
Matrimonial Detective Agency in Mumbai

Nice Blog, Very interesting blog and very informative.



digital signature certificate provider in Delhi

hey brother thanks for sharing your knowledge



Make My Digital Signature

I like the way of your presentation of ideas, views and valuable content.


Digital signature certificate in delhi

Post a Comment