Two services share a pre-provisioned 256-bit key and exchange high-volume messages. Messages must stay confidential, modified ciphertext must be detected, and AES hardware acceleration is available. Which configuration is best?
Show the answer
Correct answerD. AES-256-GCM with a unique nonce for every message
AWhy not this: Nonce reuse under one key breaks GCM, leaking plaintext XOR relationships and weakening the authentication.
BWhy not this: Asymmetric encryption is slow and size-limited for bulk traffic, and a shared symmetric key already exists.
CWhy not this: CBC alone provides no integrity, so modified ciphertext goes undetected, and a predictable IV adds further weakness.
DWhy this is right: Authenticated encryption with a per-message nonce gives confidentiality, tamper detection and high throughput.
AES-GCM is authenticated encryption: it gives confidentiality and a tag that detects modification, and it is fast with AES hardware support. It stays secure only if each nonce is unique under a key. A fixed nonce reuses the keystream and exposes plaintext relationships and the authentication key.