Bỏ qua nội dung

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

Exam questions on what this lab teaches, with the points that gain marks.

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

  1. The message (with its signature) is decrypted with the receiver's private key.
  2. The signature is decrypted with the sender's public key. This gives the message digest (hash) that was sent.
  3. The received message is hashed with the same hashing algorithm, to make a new digest.
  4. The two digests are compared.
  5. 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.

9618/31 May/June 2026 · Question 8(a)(ii)–(b)5 marks

(a)(ii) State what is meant by a public key. (b) Outline the process that would allow an individual to use asymmetric key encryption to send a private message to an organisation.

Points that gain marks

  1. (a)(ii) A key from a matched pair that anyone can obtain and use to send encrypted messages.
  2. (b) The organisation generates a matched pair of keys and makes its public key available.
  3. (b) The individual encrypts the message with the organisation's public key and sends it.
  4. (b) The organisation decrypts it with its own private key. The steps must be in the right order.

In this lab: Levels 'A secret only Bob can read' and 'Open it as Bob'.

9618/32 May/June 2026 · Question 8(a)3 marks

Describe the differences between symmetric key and asymmetric key cryptography.

Points that gain marks

  1. Symmetric uses one key; asymmetric uses a mathematically linked pair (public and private).
  2. Symmetric uses the same key to encrypt and decrypt; asymmetric uses one key to encrypt and the other to decrypt.
  3. Symmetric has the key distribution problem, which the key pair solves.
  4. Asymmetric keys must be longer for the same security; asymmetric also allows the sender to be verified.

In this lab: Levels 'A secret only Bob can read', 'Sign a message' and 'Spot the fake'.

IGCSE 0478/13 October/November 2024 · Question 2(g)(ii)–(iii)3 marks

(ii) Give one similarity between symmetric encryption and asymmetric encryption. (iii) Give two differences between symmetric encryption and asymmetric encryption.

Points that gain marks

  1. (ii) They both use a key // both turn plain text into cipher text.
  2. (iii) Symmetric uses one key, but asymmetric uses two (a public key and a private key).
  3. (iii) Symmetric decrypts with the same key; asymmetric decrypts with a different key.
  4. (iii) Symmetric can send the key with the data, but asymmetric does not; symmetric is less secure.

In this lab: Levels 'A secret only Bob can read' and 'Open it as Bob'.

IGCSE 0478/11 October/November 2025 · Question 2(e)2 marks

Image data is encrypted using symmetric encryption. (i) Tick the correct statement: A encrypted text is known as plain text; B the most secure form of encryption; C the encryption key is shared with any device receiving the encrypted data; D two different keys are used. (ii) Give one other type of encryption that could be used.

Points that gain marks

  1. (i) C.
  2. (ii) Asymmetric encryption.

In this lab: Level 'Break a Caesar cipher' (one key, which sender and receiver share: symmetric) and 'A secret only Bob can read' (a public and a private key: asymmetric).

The question as printed in the exam paper

More real experiments

All labs →

Đăng nhập hoặc tạo tài khoản

IGCSE, A-Level & AP