Professional Documents
Culture Documents
Networks
PRES EN T ED BY N AVAN EET H K RI S HN A AP
Signing the Digest
❖ In computer networking, signing the digest is a technique used to validate the authenticity
and integrity of a message
❖ In a digital signature system, our messages are normally long, but we have to use public
keys.
❖ It is an efficient way to sign a message when the message is long. In this method, the
sender creates a miniature version (digest) of the document and then signs it. The receiver
checks the signature of the miniature version
❖.The sender can sign the message digest, and the receiver can verify the message digest.
Signing the Digest
❖The hash function is used to create a digest of the message. The two most common hash
functions used are MD5 (Message Digest 5) and SHA-1 (Secure Hash Algorithm 1).
Services of digital signature
❖Message Integrity
In case an attacker has access to the data and modifies it, the digital signature verification at receiver
end fails. The hash of modified data and the output provided by the verification algorithm will not match.
Hence, receiver can safely deny the message assuming that data integrity has been breached.
❖ Message Authentication
When the verifier validates the digital signature using public key of a sender, he is assured that
signature has been created only by sender who possess the corresponding secret private key and no
one else.
❖ Message Non repudiation
Since it is assumed that only the signer has the knowledge of the signature key, he can only create
unique signature on a given data. Thus the receiver can present data and the digital signature to a third
party as evidence if any dispute arises in the future.
RSA DigitalSignature Scheme
❖ RSA is an asymmetric cryptography algorithm.
❖The RSA idea is based on the fact that it is difficult to factorize a large integer.
❖The public key consist of two numbers where, one number is the multiplication of two large prime
numbers.
❖The private key is also derived from the same two prime numbers. so, if somebody can factorize the
large number,the private key is compromized,.
=(53-1)*(59-1)
=3016
Now calculate private key ‘d’
RSA DigitalSignature Scheme
d=(k* ϕ(n)+1)
for k=2,
d=2011
word to Encrypt=HI
RSA DigitalSignature Scheme
❖Convert letters to integers H=8 and I=9.
❖Decrypt 1394