Envelope encryption and traditional encryption differ in how they handle data encryption keys and the encryption process.
Traditional Encryption:
In traditional encryption, a single key (symmetric) or a pair of keys (asymmetric) is used to directly encrypt and decrypt the data. For example, AES (Advanced Encryption Standard) is a symmetric encryption algorithm where the same key encrypts and decrypts the data. This approach is simple but has risks if the key is compromised.
Envelope Encryption:
Envelope encryption uses a two-layer approach:
This method enhances security because the DEK is never stored in plaintext. Even if the encrypted data is exposed, the DEK remains protected by the KEK.
Example:
Tencent Cloud KMS supports envelope encryption, allowing users to securely manage KEKs while encrypting data with transient DEKs. This is ideal for protecting sensitive data in cloud storage or databases.