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.

HardTechnical
71 practiced

Explain forward secrecy (and perfect forward secrecy): what does it protect against, and what doesn't it protect against (e.g. server long-term key compromise vs a single session key's exposure)? Describe how ephemeral Diffie-Hellman (ECDHE) achieves it in TLS, and what a server operator must configure correctly for it to actually apply.

MediumTechnical
97 practiced

Describe elliptic curve cryptography (ECC) conceptually and explain why modern systems favor it over RSA for equivalent security: key sizes, computational cost, bandwidth, and typical use cases (signatures, key exchange). Name a couple of widely-used curves and any trade-offs worth flagging.

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.

EasyTechnical
99 practiced

Explain the core security properties a cryptographic hash function must have (preimage resistance, second-preimage resistance, collision resistance), name a couple of common algorithms, and give one example each of where a hash is the right tool (integrity checks, content-addressing) and where it is not (storing passwords without salting and stretching).

EasyTechnical
82 practiced

State recommended key length guidance for common algorithms: AES (symmetric), RSA (classical public-key), and elliptic curve algorithms (ECDSA/ECDH). Explain why key length matters and what operational considerations (performance, lifespan, algorithm migration) influence your choice of length.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.