News

Technology

The process of signing and verifying digital signatures (part 2)

After the signer hashes the contract content and signs it with a private key to create cipher hash A, the verification process proceeds as follows:

  1. The recipient receives the contract including the main content + cipher hash A. The recipient separates the document content and digital signature for independent processing.
  2. For the document content, the recipient hashes it using the same algorithm (MD5 or SHA) as the signer, producing H2 representing the recipient's hashed string: (software) -> hash + word file -> string H2.
  3. The recipient uses the signer's public key to decrypt cipher hash A, obtaining H: cipher hash A + public key -> string H.
  4. Compare H with H2. If they match, the content is intact, unchanged, and the digital signature verification is successful.

Source: Admin compilation