Applied Cryptography and Key Management Questions

Selecting and applying cryptographic primitives correctly: symmetric and asymmetric encryption, hashing, digital signatures, key derivation, secure random number generation, and public key infrastructure. Covers key lifecycle management, key exchange and distribution, choosing appropriate algorithms for a given constraint set including resource-constrained environments, and the forward-looking side of algorithm lifecycle: cryptographic agility and algorithm-migration strategy, forward secrecy, and the post-quantum cryptography transition and planning upgrades without breaking existing data or interoperability. The applied-crypto engineering layer, distinct from compliance-driven crypto standards.

EasyTechnical
26 practiced

What is (perfect) forward secrecy? Explain how it prevents retroactive decryption after a long-term key is compromised, which protocols provide it by default, and situations where it might be impractical to use.

EasyTechnical
50 practiced

Describe the purpose of a salt in password-based key derivation: what properties it needs (uniqueness, length, randomness), where it should be stored relative to the derived hash, and the operational risks of reusing or omitting it at scale. Then explain the difference between a salt and a pepper: how does adding a server-side secret pepper change the threat model for offline attacks, and what controls does protecting a pepper actually require?

EasyTechnical
27 practiced

What is a Key Management Service, and what does the full key-management lifecycle look like for symmetric and asymmetric keys in an enterprise environment? For each stage (generation, provisioning, storage/usage, rotation, revocation, archival, secure destruction), name concrete controls and automation options you'd expect a KMS or HSM to provide, and the audit/logging you'd want at each stage. Compare cloud-managed KMS, HSM-backed KMS, and self-hosted key stores (like HashiCorp Vault) from an operational and decision-criteria standpoint: when would you reach for each?

HardTechnical
27 practiced

Explain the cryptographic differences between RSA key exchange and ECDHE (Elliptic Curve Diffie-Hellman Ephemeral) in TLS. Specifically, how does each impact perfect forward secrecy, and what are the consequences if the server's long-term private key is later compromised? What server configuration changes would you make to prioritize forward secrecy, and why?

EasyTechnical
50 practiced

Explain the differences between symmetric and asymmetric encryption. For each category, name two concrete algorithms you have used or implemented in production, describe typical system-level use cases (data at rest, key exchange, digital signatures), and discuss the performance, key-distribution, and operational trade-offs that push you toward one over the other. Where does envelope encryption and hardware-backed key storage fit into that choice?

Unlock Full Question Bank

Get access to all 8 Applied Cryptography and Key Management interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.