I have a column (salary) encrypted in database (MS SQL Server).
I am using the entity framework to display/edit the records from the front end. Any idea how to decrypt the column in the front end to show the salary value?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are doing encryption on database level you must use database level for decryption – use
ObjectContext.ExecuteStoreQuery<YourEntityType>(...)to load records from database – pass SQL command with correct decryption usage into that method.