InterviewStack.io LogoInterviewStack.io

Cryptography Background Questions

Experience working with cryptographic algorithms, protocols, and secure design practices. Candidates should describe algorithms and protocols they have used or implemented, threat modeling and key management experience, compliance considerations, and concrete projects that demonstrate applied cryptography knowledge and practical trade offs.

MediumTechnical
33 practiced
Provide Python pseudocode for an AES-GCM encrypt/decrypt wrapper that correctly handles nonce generation, associated data (AAD), and tag verification. Explain your chosen nonce strategy and how you would avoid or detect nonce reuse across distributed encryptors, including monitoring and alerting approaches.
EasyTechnical
29 practiced
Describe common sources of entropy on servers and embedded devices, how to evaluate pseudorandom generator (PRNG) quality, and practical steps to mitigate low-entropy failures. Include how you would instrument and monitor entropy health in production.
EasyTechnical
36 practiced
What is an AEAD cipher? Explain the guarantees AEAD provides compared to separate encryption and MAC constructions. Give two examples of AEAD algorithms and explain when you would choose AEAD over encrypt-then-MAC and vice versa.
HardTechnical
30 practiced
You are responsible for migrating a large financial institution to post-quantum-safe cryptography. Propose a high-level migration plan that includes inventory of cryptographic assets, prioritization (what to migrate first), hybrid deployments, testing and interoperability, vendor coordination, regulatory/compliance considerations, performance testing, and rollback strategies.
HardTechnical
31 practiced
An engineering team proposes a new proprietary block cipher tailored to a product. As the lead cryptographer, outline a formal review plan: mathematical analysis steps, security proof attempts or reductions, required test vectors and implementation tests, external review/challenge process, performance benchmarking, and acceptance/rejection criteria.

Unlock Full Question Bank

Get access to hundreds of Cryptography Background interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.