- Home
- All questions
- Question 28
CISSP study material · question 28 of 500
A developer encrypts customer records with AES in Cipher Block Chaining (CBC) mode and derives each initialisation vector (IV) from the record's primary key, so that decryption can recompute the IV without storing it. A reviewer objects to the design. Which change should the reviewer require?
Show the answer
Answer: D. Generate each IV with a cryptographically secure random generator and store it alongside the ciphertext.
CBC needs an unpredictable, non-repeating IV from a cryptographically secure generator; deriving it from record data makes it deterministic and repeatable across re-encryptions of that record.
Source: OWASP Top 10 A04:2025 (OWASP) — OWASP Top 10:2025 A04 Cryptographic Failures > How to prevent