Applied Cryptography

Which of the following does authenticated encryption (AEAD) such as AES-GCM provide in a single operation?

  1. AOnly the confidentiality of the data; detecting tampering requires a separate digital signature
  2. BThe confidentiality of the data and verification that the ciphertext and associated data have not been tampered with
  3. CNon-repudiation towards third parties, in addition to confidentiality and tamper detection
Show answer and explanation

Answer: B. The confidentiality of the data and verification that the ciphertext and associated data have not been tampered with

Authenticated encryption (AEAD: authenticated encryption with associated data) computes an authentication tag while encrypting and verifies the tag when decrypting; if the ciphertext has been tampered with, it returns an error without releasing any plaintext. Headers and other data that are not encrypted but must be protected against tampering can also be included in the tag computation as "associated data". GCM is a mode that combines encryption in CTR mode with authentication by GHASH, which uses multiplication in a Galois field, and TLS 1.3 uses only AEAD. Because the tag is made with a shared key, like a message authentication code it cannot provide non-repudiation.

  • A. Authenticated encryption is precisely the scheme that includes tamper detection in the same operation.
  • B. Correct. Confidentiality and integrity (that nothing has been tampered with) are checked together.
  • C. The tag is made with a key shared by the sender and receiver, so the receiver can also create the same tag. Non-repudiation requires a digital signature.
Practice this topic Back to topic

Books on Applied Cryptography Ad

As an Amazon Associate I earn from qualifying purchases.

More Applied Cryptography questions

  1. Which of the following correctly describes the 96-bit nonce (IV) used in AES-GCM?
  2. On a certain machine, a brute-force search trying every 56-bit key takes about 20 hours. Which of the following is closest to the time the same machine needs to try every 64-bit key?
  3. Which of the following correctly describes the hash functions SHA-2 and SHA-3?
  4. Using the hash SHA-256(K ‖ m) of a secret key K concatenated with a message m as a tag for detecting tampering is considered dangerous. Which of the following is the reason?
  5. Let 1 GiB = 2³⁰ bytes and 1 EiB = 2⁶⁰ bytes. A block cipher with a 64-bit block (such as 3DES) is used in CBC mode to encrypt a large amount of data under one key. Treating the ciphertext blocks as random 64-bit values, which of the following is the approximate amount of data at which, by the birthday paradox, the probability that a pair of identical ciphertext blocks appears can no longer be ignored?

Comparisons in this topic