logo

AQA A-Level Computer Science practice

Which condition is essential for a Vernam cipher, or one-time pad, to provide perfect security?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

practice

Style

Topic

Representing images, sound and other data

Exam-style question

Try this first

Which condition is essential for a Vernam cipher, or one-time pad, to provide perfect security?.

  1. A.The key is reused for every message
  2. B.The key is shorter than the plaintext
  3. C.The key is chosen uniformly at random and used once only
  4. D.The key is made from a Caesar shift

Answer and explanation

Concise answer

The key is chosen uniformly at random and used once only

Why this is correct

The specification states that the key must be chosen uniformly at random and used once only. The key is known as a one-time pad, and these conditions support perfect security.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions