I Have table with the Symmentric (AES-128) Encryption on table.
How can decrypt and use it in c# level. I am able to dycrypt again back Sql level but i want to decrypt in c# class of that.
Geettign Error :
For byte[] cipherBytes = Convert.FromBase64String(cipherText);
"The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters"
Nitin SontakkeRank #264 · 9.6K reputationPosted Oct 30, 2017, 2:03 AM EDT
Nitin SontakkeRank #264 · 9.6K reputationPosted Oct 30, 2017, 12:20 AM EDT
Rakesh reddyRank #7,881 · 232 reputationPosted Oct 30, 2017, 1:50 AM EDT
I Have table with email, Phone for security purpose at DB level we have encrypted those columns.
So i have planned to prepare one partial class with extra columns for decrypted data for the edmx generated class and planning decrypt the value with getter method
Rakesh reddyRank #7,881 · 232 reputationPosted Oct 31, 2017, 9:54 PM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts