Learn CS Visual

How Tampering Changes the Digest

A hash function computes a fixed-length digest from any message. Even a single-character change to the message alters the computed digest, so comparing it against the digest from signing time reveals tampering. A digital signature is this digest encrypted with the private key.

When the message gets tampered with, what happens to the signature verification result?