Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi all,
i am new to the asp .net programming,i had the problem with digital signature, i don't know anything about the digital signature , try to explain this thing

Generate a digital signature for the my text which was given in text box and
Validate the digital signature(if the message is altered with same hash, it should say invalid signature )

thanks alot in advanced it is much more helpful for me
Posted
Updated 28-Jun-11 20:08pm
v2

1 solution

To start with, try to understand how digital signature works.

See this:
http://en.wikipedia.org/wiki/Digital_signature[^].

You also need to understand the idea of public-key cryptography: http://en.wikipedia.org/wiki/Public-key_cryptography[^].

You should understand the main idea: using two keys; encrypting using one key and decrypting with another one. Implications of this thing in security needs thorough thinking. You cannot really proceed until you get it.

This all is based on the notion of one-way function: http://en.wikipedia.org/wiki/One-way_function[^].

To best of my knowledge, the existence of one-way function is not strictly proven yet, but most specialists in the related field of mathematics believe it does exist. One candidate for a one-way function is RSA algorithm: http://en.wikipedia.org/wiki/RSA[^].

It is fully implemented in .NET, see http://msdn.microsoft.com/en-us/library/system.security.cryptography.rsa.aspx[^].

You have everything to get started now.

Good luck,
—SA
 
Share this answer
 
Comments
Vivek Krishnamurthy 29-Jun-11 2:42am    
Perfect :) 5!
Sergey Alexandrovich Kryukov 29-Jun-11 2:53am    
Thank you very much, Vivek.
--SA
Prerak Patel 29-Jun-11 2:46am    
my 5 too...
Sergey Alexandrovich Kryukov 29-Jun-11 2:53am    
Thank you, Prerak.
--SA
[no name] 29-Jun-11 3:03am    
Good Call SA. My 5 too.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900