How Digital Signatures are Verified
Verifying a digital signature confirms that the document remains unchanged and the signature is authentic. The verification process includes these steps:
1. Decrypting the Signature
-
The recipient uses the signer's public key to decrypt the digital signature.
-
If the decryption is successful, it produces the original hash value.
2. Hashing the Document Again
3. Comparing Hash Values
-
The newly generated hash value is compared to the decrypted hash value.
-
If the hash values match, the document is authentic and has not been altered.
-
If they do not match, the document has been tampered with or the signature is invalid.