9618/31 October/November 2022 · Question 6(c) · 4 marks
A message arrives with a digital signature. Explain how the receiver uses the signature to check the message.
Points that gain marks
- The message (with its signature) is decrypted with the receiver's private key.
- The signature is decrypted with the sender's public key. This gives the message digest (hash) that was sent.
- The received message is hashed with the same hashing algorithm, to make a new digest.
- The two digests are compared.
- If they are the same, the message has not been changed. If they are different, it has been changed.
In this lab: This is the Spot the fake level: the hash of the text against the signature opened with Alice's public key.