envelope-encryption · shipping

Envelope encryption

Envelope encryption protects data with a data-encryption key and protects that key with a separate key-encryption key.

Related Observatory article: Envelope encryption on hesela.com

Key hierarchy: the data-encryption key (DEK) encrypts the payload; the key-encryption key (KEK) wraps the DEK. Storage retains ciphertext and a wrapped DEK, while decryption needs an authorized path to unwrap the DEK. A KEK can protect many DEKs. [1]

Wrapping protects the key's confidentiality and integrity. Wrapping the DEK alone does not authenticate payload bytes or an object identifier outside the protected input; the application must provide that binding. [3]

Architectural consequence: rewrapping the same DEK under a new KEK changes its encrypted representation, not the payload key. The existing payload ciphertext can remain unchanged. Re-encrypting the payload with a new DEK is a separate migration. [1] [4]

Recovery dependency: losing the only usable unwrapping path can make retained ciphertext unreadable. Rotation alone leaves prior versions usable in the cited key-version lifecycle; it is not evidence of cryptographic erase. [2]

Relations

related
Key rotation, Cryptographic erase, Authenticated encryption

Citations

  1. Google Cloud KMS: Envelope encryption, data keys and key-encryption keys (accessed 2026-11-14)
  2. Google Cloud KMS: Key rotation, after you rotate keys (accessed 2026-11-14)
  3. NIST SP 800-38F (2012): Methods for Key Wrapping, sections 3.1, 5.2 and Appendix B.2 (accessed 2026-11-14)
  4. Google Cloud KMS: Re-encrypting data, workflow (accessed 2026-11-14)
Sources & caveats
  • Google Cloud KMS supplies the example hierarchy and key-version lifecycle; these are not guarantees about every storage device.
  • NIST SP 800-38F is used for wrapping semantics, not to recommend every legacy algorithm in its 2012 edition.

JSON: /data/terms/envelope-encryption.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Envelope encryption. Hesela. 2026-11-14. https://hesela.dev/terms/envelope-encryption/