본문 바로가기

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.

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

  • (a)(ii) A key from a matched pair that anyone can obtain and use to send encrypted messages.
  • (b) The organisation generates a matched pair of keys and makes its public key available.
  • (b) The individual encrypts the message with the organisation's public key and sends it.
  • (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

  • Symmetric uses one key; asymmetric uses a mathematically linked pair (public and private).
  • Symmetric uses the same key to encrypt and decrypt; asymmetric uses one key to encrypt and the other to decrypt.
  • Symmetric has the key distribution problem, which the key pair solves.
  • 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

  • (ii) They both use a key // both turn plain text into cipher text.
  • (iii) Symmetric uses one key, but asymmetric uses two (a public key and a private key).
  • (iii) Symmetric decrypts with the same key; asymmetric decrypts with a different key.
  • (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

  • (i) C.
  • (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).

More real experiments

All labs →

로그인 또는 계정 만들기

IGCSE, A-Level & AP