So far, we covered almost all the basic topics of cryptography in this series. But one more important topic is left to be discussed. Last, but not least, the topic for today's article is Digital Signatures.
Digital Signing is a mathematical technique for verifying digital messages or electronic documents. It’s widely used in various applications such as secure communication, digital product distribution, and financial transactions where it is required to ensure that the original content has not been altered or to verify who the sender of the content is.
If you remember, we already discussed that we can utilize asymmetric encryption for digital signing in the previous articles. The difference is just the way of utilizing keys.
Digital signing has two main processes. The first process is to generate a unique digital fingerprint of the message or document. The other process is to verify the fingerprint and make sure that the message or the document is not altered.
For instance, Alice is going to send a message to Bob over an insecure network. They need to verify that the message is not altered between the transmission, and also Bob needs to make sure that the particular message is from Alice.
So, Alice and Bob decide to utilize digital signing to fulfill their requirement.
As usual, the person who sends the file should decide the asymmetric encryption algorithm to use and should generate a key pair. Then she keeps his private key secret, without exposing it, and makes her public key publicly available.
Diagram 01: Signing Process
Steps to create the digital signature are forward.
Special Note: This encrypted hashed value of the message is called the Digital Signature.
Diagram 02: Verifying Process
Steps to verify digital signature are as below.
The main benefits of digital signing are security and authenticity. It can be used to ensure the integrity of the message and the identity of the sender. Further, it can be used to streamline the document workflow and reduce the necessity of the physical signatures.
Also, digital signatures are commonly used in business and commercial transactions, especially to ensure the authenticity of contracts, agreements, and financial documents.
Happy Reading :)