A security engineer is updating the cryptographic configuration of an internal API gateway to enhance session transport security. The new security baseline requires providing Perfect Forward Secrecy (PFS) for key establishment and guaranteeing message authentication and integrity for incoming payload headers. Which TWO cryptographic mechanisms or algorithms should the security engineer implement to satisfy these requirements?
- Elliptic Curve Diffie-Hellman Ephemeral (ECDHE)Answer
- Hash-based Message Authentication Code with SHA-256 (HMAC-SHA256)Answer
- CStatic RSA key exchange
- DUnsalted SHA-256 digest hashing
- EAES-256 in Cipher Block Chaining (CBC) mode without an authentication tag
Answer
The security engineer should implement Elliptic Curve Diffie-Hellman Ephemeral (ECDHE) for key establishment and HMAC-SHA256 for header integrity and authentication.
Elliptic Curve Diffie-Hellman Ephemeral (ECDHE) provides dynamic key exchange where session keys are temporary and discarded after use, guaranteeing Perfect Forward Secrecy. HMAC-SHA256 pairs a secret cryptographic key with a hash function, ensuring both message integrity and sender origin authentication.
Step-by-Step Solution
Key Concept
Cryptographic Concepts and Algorithms