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

Summarize NIST's post-quantum cryptography standardization effort: which algorithm families and specific algorithms has NIST selected for KEMs and signatures, and how should an organization use that activity when planning a migration? Explain why production deployments favor hybrid classical-plus-PQ patterns (parallel key encapsulation, dual signatures) rather than switching outright, and the main pitfalls to avoid when implementing a hybrid.

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?

MediumTechnical
28 practiced

Explain how HSM attestation works in practice: the available primitives (attestation certificates, quotes, TPM PCRs), how you'd remotely validate an HSM's firmware and configuration, and how you'd incorporate attestation results into an automated key-provisioning pipeline so keys are only released to hosts that pass attestation.

HardTechnical
26 practiced

Write clear pseudocode showing how to implement a hybrid key exchange in the TLS handshake that combines an X25519 ECDH exchange with a post-quantum KEM (for example Kyber). Show both the client and server side, how you encapsulate/decapsulate, and how you derive the final symmetric key with HKDF. Beyond the handshake itself, how should key derivation and key management more broadly evolve for a hybrid classical-plus-PQ world: KDF and key-wrapping choices, parameter selection, and what changes for an existing KMS/protocol that needs to keep forward secrecy and resist a quantum-capable adversary?

EasyTechnical
27 practiced

Compare symmetric and asymmetric key-management lifecycles in an enterprise. For each class, describe typical key sizes, storage requirements, rotation/retirement frequency, common uses (DEK, KEK, signing, key exchange), and how distribution and backup differ operationally and from a threat-model perspective.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.