File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ The idea with this example is to test how to store encrypted data under a datast
2323
2424## Features
2525
26- - API storing endpoint that encrypts data with the provided key and stores it into a MongoDB collection (AES-256-CBC encryption)
26+ - API storing endpoint that encrypts data with the provided key and stores it into a MongoDB collection (AES-256-GCM encryption)
2727- API retrieval endpoint that decrypts data with the provided key and returns the data
28- - AES-256-GCM encryption that uses a random Initialization Vector (IV)
28+ - AES-256-GCM encryption that uses a random Initialization Vector (IV) and Auth TAG
2929- IV and Auth TAG stored with the encrypted data (separated by a ` : ` character)
3030- Logs with correlation ID
3131- Hardening of the HTTP Headers with Helmet
You can’t perform that action at this time.
0 commit comments