How to decrypt data from Entity Framework using C#, which is encrypted using symmetric key and certificate in SQL Server?

前端 未结 0 1243
小鲜肉
小鲜肉 2021-02-06 04:50

In SQL Server:

OPEN SYMMETRIC KEY TestEncryption DECRYPTION BY CERTIFICATE MyCertificate

SELECT CONVERT(VARCHAR(255), DECRYPTBYKEY(EncryptColumn)) 
FROM Table1
<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题