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
85 practiced

Compare block cipher modes of operation such as CBC and GCM. In a system that requires encryption for disks (at-rest logs) and for transport (TLS-like traffic), which mode(s) would you choose for each use case and why? Discuss IV/nonce requirements and integrity guarantees.

EasyTechnical
95 practiced

Describe Public Key Infrastructure (PKI) fundamentals: what a certificate is, what a Certificate Authority (CA) does, certificate chains and trust anchors, and a typical use of certificates in TLS. Keep the explanation high-level but include how trust is established and how certificate expiration affects secure channels.

MediumTechnical
91 practiced

Describe how you would perform a cryptographic library audit to find misuse (e.g., incorrect mode selection, improper padding, insecure defaults). What static and dynamic analysis tools or test vectors would you use, and how would you prioritize remediation across findings that vary in exploitability?

MediumTechnical
136 practiced

Describe how the Elliptic Curve Digital Signature Algorithm (ECDSA) works at a high level, why ECDSA signatures can be malleable in some formats, and what best practices you would enforce when verifying and storing ECDSA signatures in a distributed system.

EasyTechnical
71 practiced

What is authenticated encryption (AEAD) in practical terms? Describe the API shape (plaintext, associated data, nonce in; ciphertext and authentication tag out), the security properties it provides, and give a concrete example of an attack that becomes possible if you use plain (unauthenticated) encryption instead.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.