InterviewStack.io LogoInterviewStack.io

Cryptography Fundamentals Questions

Core concepts and vocabulary of cryptography: confidentiality, integrity, authentication, and non-repudiation; the difference between symmetric and asymmetric primitives; and how standard algorithms, libraries, and protocols fit together. Covers threat models, common standards, and applying primitives and cryptographic libraries correctly to real-world security problems. The entry point for the cryptography track.

HardSystem Design
80 practiced

Design a scalable certificate revocation checking solution for a global service considering CRLs, OCSP, OCSP stapling, caching strategies, privacy concerns, and offline verification. Discuss trade-offs between real-time revocation checks and latency/availability.

HardTechnical
75 practiced

Assemble a practical roadmap for preparing an enterprise for the impact of quantum computers on asymmetric cryptography. Include inventorying cryptographic usage, prioritizing assets for protection, testing hybrid classical+post-quantum schemes, vendor readiness assessment, and regulatory considerations for migration.

EasyTechnical
144 practiced

Describe the core properties of cryptographic hash functions: preimage resistance, second-preimage resistance, and collision resistance. Give brief examples of why each property matters in systems such as password storage, digital signatures, and content-addressing.

EasyTechnical
69 practiced

Define initialization vector (IV) and nonce in cryptographic operations. Explain their roles for modes like CBC and GCM, required properties (randomness vs uniqueness), consequences of reuse, and best practices for generation, storage and transmission of IVs/nonces.

MediumTechnical
92 practiced

Compare using HMAC with a symmetric cipher (encrypt-then-MAC) versus using an AEAD cipher like AES-GCM. Discuss performance, hardware acceleration, streaming support, error handling, and implementation risks in distributed services.

Unlock Full Question Bank

Get access to all 33 Cryptography Fundamentals interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.