Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How To Decrypt the Data at the Database level using the Same Key used in EF #64

Open
uppercuut opened this issue Mar 3, 2024 · 2 comments

Comments

@uppercuut
Copy link

No description provided.

@mmhafner
Copy link

Good question

@Xor-el
Copy link

Xor-el commented May 15, 2024

if you wish to decrypt data already encrypted in the DB, you can try the approach suggested here.
I have no idea if it would work though.

However, if you need EFCore to do the decryption on the DB level, that won't happen as the encryption/decryption with this library works as a value converter and is done at the EFCore layer, not the DB one.
What this means is that filtering on an encrypted column using EFCore will always pull the data to the client side before decrypting and then filtering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants