ข้ามไปยังเนื้อหา

Labs · 9618 A2 17.1

Secret Messages

Crack a Caesar cipher, then send secrets with public and private keys, and sign a message so Bob knows it is really from Alice. Every step is worked out with real numbers.

5 levelsFree bench

In the exam

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.

More real experiments

เข้าสู่ระบบหรือสร้างบัญชี

IGCSE, A-Level & AP