Asymmetric Cryptography and Key Exchange Questions
Public-key cryptography: RSA, Diffie-Hellman, elliptic-curve cryptography, and public-key infrastructure (PKI). Covers key establishment and agreement protocols, certificate trust chains, and the mathematical hardness assumptions each scheme rests on. Essential for TLS, secure messaging, and identity systems.
Evaluate certificate transparency (CT) as a defense against CA misissuance. Explain Merkle tree inclusion proofs and Signed Certificate Timestamps (SCTs), the threat of log equivocation, responsibilities of monitors and auditors, how CT integrates with browser trust policies, and limitations or attacks against CT operators.
Describe an algorithm a client can use to build and validate a certificate chain when multiple intermediates, cross-signatures, and trust anchors exist. Explain how to search for a valid path to a trust anchor, how to detect and avoid cycles, how to prioritize chains, and how to apply name constraints and certificate policies during validation.
Compare Elliptic-Curve Diffie-Hellman (ECDH) with classic finite-field Diffie-Hellman (DH) in terms of operations, key size, and security per bit. Explain why ECDH is often chosen for constrained devices and which curve properties (e.g., field type, coordinate representation) influence performance.
What is key confirmation in a key-exchange protocol? Give two mechanisms for mutual key confirmation (for example, a MAC over the transcript using the derived key, and an explicit signature over the key material) and explain how key confirmation prevents certain active and reflection attacks.
Provide pseudocode for RSA decryption/signing using blinding to mitigate timing attacks. Include steps for selecting the blinding factor, applying the blinding before modular exponentiation, unblinding the result, and constant-time precautions. Also describe how to adapt blinding for CRT-based implementations and how to verify correctness.
Unlock Full Question Bank
Get access to all Asymmetric Cryptography and Key Exchange interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.