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.

MediumTechnical
91 practiced

Your SIEM shows repeated TLS handshake failures to an internal service after a certificate rotation. Failures indicate 'bad_certificate' from several clients. Explain your investigation steps: what logs and systems you inspect, how to verify certificate chain and private key correctness, and quick mitigations to restore service while preserving forensic data.

HardTechnical
67 practiced

Outline an approach to formally test whether an application's use of cryptography is correct: include test cases for IV/nonce uniqueness, key lifecycle (generation/storage/rotation), authenticated encryption verification, and integration tests to ensure correct protocol flows (e.g., TLS handshake). What automated checks would you include in CI/CD?

EasyTechnical
87 practiced

Define initialization vector (IV) and nonce as used in block/stream cipher modes. What properties must each satisfy (randomness vs uniqueness), and what happens in practice if a nonce is reused with a mode like GCM?

EasyTechnical
98 practiced

Explain the roles of salting and key stretching in password-based key derivation and storage. Describe how salts should be generated and stored, why unique salts prevent precomputation/rainbow-table attacks, and how key stretching (iterative hashing, memory-hard functions) increases attacker work. Illustrate with concrete examples of attacks that salting and stretching mitigate and note any remaining risks that require additional controls.

MediumTechnical
98 practiced

You're reviewing a colleague's pull request that adds encryption for a new feature. Walk through what you'd look for during review, and for each issue you flag, explain why it's a problem and how you'd fix it.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.