InterviewStack.io LogoInterviewStack.io

Data Protection and Encryption in Practice Questions

Protecting data at rest and in transit across real systems from an engineering rather than pure-cryptography standpoint. Covers encryption strategy and key management for stored and transmitted data, secrets and sensitive-data handling, tokenization and secure elements for payment and sensitive data, and secure data handling in application code. Applied data-protection controls, distinct from cryptographic primitive design and from privacy-regulation compliance.

MediumTechnical
69 practiced

Explain the cryptographic consequences of nonce reuse in AES-GCM. Provide concrete attack examples (keystream reuse, tag forgery), and propose mitigation strategies in a distributed service where multiple nodes encrypt under the same key (prevention, detection, and remediation).

EasyTechnical
63 practiced

What is an AEAD cipher? Explain the guarantees AEAD provides compared to separate encryption and MAC constructions. Give two examples of AEAD algorithms and explain when you would choose AEAD over encrypt-then-MAC and vice versa.

EasyTechnical
56 practiced

Describe the security and operational tradeoffs between encrypting data 'at rest' on the server and encrypting on the client before upload (client-side encryption). In your answer, list three server-side features that become harder to implement with strict client-side E2EE and propose a mitigation for each feature.

MediumTechnical
63 practiced

Design a deterministic encryption approach to support exact-match searches on encrypted fields in a database. Provide pseudocode or a design sketch, explain the exact leakage profile (what the server learns), frequency analysis risks, and practical mitigations such as per-tenant keys, salting, or using searchable encryption alternatives.

That is every published Data Protection and Encryption in Practice question for Cryptographer so far. Browse the other topics in this category, or practice this one interactively.