Improved vault efficiency with envelope encryption

View profile for Imam A.

Love to tinker the code..

Related to my previous post https://lnkd.in/gNWJ9C9V I added another option to reduce the load of vault (encryption engine) via envelope encryption, the vault now only generate keys, encrypt the key, and decrypt the key. Client use the generated key from vault to encrypt their payload before store it in cache and store the encryption key (that is already encrypted) as well. Now now, to make it easier, just look into the code yourself... https://lnkd.in/gy8p3ReF with this, the bottleneck will be on the client itself, and the vault responsibility are to generate key (and encrypt/decrypt it on the fly), it should be more efficient

To view or add a comment, sign in

Explore content categories