Decrypt data from the database

JJ TT 141 Reputation points


Based on this article you learn about how to encrypt data but there is an important part about decryption..

How do you decrypt data from the database based on this article?

Thank you!

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
678 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Duane Arnold 3,221 Reputation points

    @JJ TT

    The article suggest that the encrypt and decrypt should be happening in the Entity class' get/set that's in the DBcontext, which makes sense to me as to where it should be happening becuase the get/set of a class property can execute methods. The encrypt and decrypt logic is in another link on the article page.


    0 comments No comments