Cryptanalysis and Security Proofs Questions

Evaluating the strength of cryptographic constructions: attack techniques, cryptanalysis of ciphers and protocols, reduction-based security proofs, and formal analysis. Covers reasoning about what an adversary can and cannot do and how security guarantees are argued rigorously. The offensive-and-verification counterpart to scheme design.

MediumTechnical
24 practiced

A hash function is built using the Merkle–Damgård construction with a 64-bit chaining value and no finalization transform; you need to evaluate security. Determine generic collision and preimage complexities, explain the implications of length-extension attacks for using this hash as a MAC, and recommend specific mitigations (for example HMAC, wide-pipe design) with justification.

HardTechnical
24 practiced

You need to prove security for a two-party authenticated key exchange protocol and are deciding between the CK model, the eCK model, and full Universal Composability. Walk through what's actually different about the adversary each one lets you model, for example ephemeral-key or session-state reveal, and which of those differences change whether you can even express properties like perfect forward secrecy or key-compromise impersonation.

HardTechnical
23 practiced

Given two sequential reductions: Adv_S(A) <= a1 * Adv_P(B) + b1 and Adv_P(B) <= a2 * Adv_Q(C) + b2 with constants a1=2^10, b1=2^-30, a2=2^20, b2=2^-40, compute the maximum Adv_Q(C) required to ensure Adv_S(A) <= 2^-60. Show full algebraic steps, identify which constants dominate the loss, and discuss the practicality of meeting the resulting Adv_Q(C) bound in terms of hardness assumptions and parameter sizes.

HardSystem Design
24 practiced

A custom key-exchange uses ephemeral ECDH to derive session keys but does not include explicit key confirmation and binds only long-term public keys to identities off-band. Analyze protocol-level attacks that this design enables, such as man-in-the-middle, unknown-key-share, replay, downgrade, and key-compromise impersonation. For each attack provide a concrete scenario, severity, and a precise protocol-level countermeasure.

MediumTechnical
24 practiced

Explain the game-hopping technique commonly used in reductionist proofs. Describe how to construct a sequence of games, what constitutes a valid hop between games, how to bound the adversary's advantage change across hops, and demonstrate with a short example of two hybrid games and their advantage differences.

Unlock Full Question Bank

Get access to all Cryptanalysis and Security Proofs interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.