Eastrall / EntityFrameworkCore.DataEncryption

A plugin for Microsoft.EntityFrameworkCore to add support of encrypted fields using built-in or custom encryption providers.
MIT License
326 stars 54 forks source link

Dynamic IV #28

Closed PierrePDP closed 3 years ago

PierrePDP commented 3 years ago

With regards to dynamic IVs. One can store the IV prepended to the ciphertext. Wouldn't that solve the issue of LINQ queries not being able to work? As one can grab the IV on the prefix to the ciphertext then use that in the decryption process?

I know most implementations of AES256-GCM use this approach.