Ravi Sir's Cards › AWS
Envelope encryption
This revision card explains Envelope encryption. It starts from the need that generateDataKey — plain + encrypted. It describes encrypt file locally (AES-GCM). The how-to section notes store only the encrypted key. An example on the card is wipe the plain key after use.
Read card text
What this card says
Why do we need it?
GenerateDataKey: plain + encrypted.
What is it?
Encrypt file locally (AES-GCM).
How to do it
Store only the encrypted key.
Example
Wipe the plain key after use.