Skip to content


Let’s explore the signing and verifying digital signature process with AI Power.

Signing Process:

Now, the signing process will unfold as follows:

  1.  We have a Word document contract .word (data). 
  1.  Using a hash algorithm program (MD5 or SHA), we hash the Word document, resulting in a unique character string with a fixed length. 

We call this string H: (software) -> hash + word file -> string H.

  The hashing algorithm must be agreed upon between the two parties to ensure consistent results when verifying. 

  1. After that, you use your private key to encrypt the hashed string from the Word document. This results in an encrypted hash string called cipher hash. We can refer to this as string C:
    string H + signer’s private key -> cipher hash A.
  1. Now, “cipher hash A” is the digital signature created by the signer, which is you (cipher hash A = digital signature). At this point, your task is to append it to the end of the Word file’s content so that the other party receives both the document content and the digital signatures.

In the next article, let’s explore the process of verifying digital signatures with AI Power.


Source: Admin compilation