Maxi-Pedia Forum

Information Technologies and Systems (IT/IS) => Security => Topic started by: danisara on November 19, 2008, 11:05:35 pm



Title: What is digital signature and how it works?
Post by: danisara on November 19, 2008, 11:05:35 pm
Hi,

I am trying to find out what a digital signature is and how it works. I am really confused. Can anyone help with this and explain, please?

Thanks.

Dani


Title: Re: What is digital signature and how it works?
Post by: atari on November 20, 2008, 11:30:43 am
Let's assume you and I are going to exchange email.

YOU:
Using special software, you obtain a message hash (mathematical summary) of the your email.
You then use a private key that you have previously obtained from a public-private key authority to encrypt your email hash.
The encrypted hash becomes your digital signature of the message.

ME:
I make a hash of the received message.
Then I use your public key to decrypt the message hash.
If the hash and hash match, the received message is valid.

One thing that might get confusing, digital signature are not to encrypt the email so that nobody can read it, they are just to make sure that a message that comes to me from you is intact and from you.