• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
Digital Signatures
The private-key signs (create) signatures, and the public-key verifies signaturesOnly the owner can create the digital signature,hence it can be used to verify who created amessageGenerally don't sign the whole message (doublingthe size of information exchanged), but just a
digest
or 
hash
of the message,
 
Digital Signatures
A
hash function
takes the message, and produces a fixed size (typically 64 to 512 bits) value dependent on the messageIt must be hard to create another messagewith the same hash value (otherwise someforgeries are possible)Developing good hash functions is another non-trivial problem
 
El Gamal
El Gamal algorithm can also be used (with a smallchange) in signing messagesAs in the encryption scheme, the public key will be a y = g
x
mod p, together with g and pTo sign a message:
 – Bob first chooses a random number k relative prime to p-1 – Bob computes a = g
mod p – Bob can solve the equation M = x*a + k*b (mod p-1)for b. – The signature is the pair a and b
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...