InterviewStack.io LogoInterviewStack.io

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.

EasyTechnical
18 practiced

Define Shannon entropy and min-entropy for a random source, explain which metric is most relevant for cryptographic key material and why, and list practical tests or checks you would use to assess entropy sources in a hardware RNG.

EasyTechnical
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.

HardTechnical
24 practiced

Design a proof strategy to show that a protocol's IND-CCA security holds under concurrent composition when many sessions are interleaved by a single adaptive adversary. Describe modeling choices for concurrency, how to simulate oracles across sessions without conflicting challenge embeddings, how to bound adversary advantage across interleavings, and identify conditions or protocol features under which concurrency can break security.

MediumTechnical
37 practiced

Given a toy 3-round Feistel cipher with 32-bit block size, independent 32-bit round keys, and a known S-box-based round function whose S-box differential probabilities are provided, outline a differential cryptanalysis strategy to recover round key bits. Specify how to select input differences, build characteristics across rounds, estimate the number of chosen plaintext pairs needed, and indicate computational steps to rank key candidates.

MediumTechnical
23 practiced

An attacker can inject a single-bit fault into the AES state immediately before the last round with success probability p per encryption. Explain the Differential Fault Analysis (DFA) approach to recover the last round key bytes, derive an expression for expected number of encryptions needed as a function of p, and discuss practical constraints on inducing and detecting useful faults.

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.