Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SSRS
Hi Forum,
 
How can i create an assembly to decrypt data in SSRS 2008 R2.
I have encryted data in an Employee table and i need to be able to decreyt the data to print unencrypted values.
I am envrypting the data using a certificate. I can decryt the data in SQL but i want to be able to decrypt it in SSRS.
I am using the following code in SQL.
 
OPEN SYMMETRIC KEY Emp
DECRYPTION BY CERTIFICATE EmpCert;
GO
 
Any help will be greatly appreciated...
 
Regards,
 
Manuel Roman
Posted 3-Nov-12 4:52am
Comments
mroman98 at 3-Nov-12 13:44pm
   
Hi Forum,

How can i create an assembly to decrypt data in SSRS 2008 R2.
I have encryted data in an Employee table and i need to be able to decreyt the data to print unencrypted values.
I am envrypting the data using a certificate. I can decryt the data in SQL but i want to be able to decrypt it in SSRS.
I am using the following code in SQL.

CREATE SYMMETRIC KEY Emp
WITH ALGORITHM = AES_256
ENCRYPTION BY CERTIFICATE EmpCert;
GO

OPEN SYMMETRIC KEY Emp
DECRYPTION BY CERTIFICATE EmpCert;
GO

What need is a funtion to open the Symmetric key and a function or assembly to decrypt the variables i need to print on the report.
I am using ALGORITHM AES_256 as you can see above, where i create the Certificate.

Any help will be greatly appreciated...

Regards,

Manuel Roman

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Maciej Los 589
1 OriginalGriff 309
2 CPallini 205
3 RyanDev 165
4 Sharmanuj 109
0 OriginalGriff 5,689
1 Sergey Alexandrovich Kryukov 4,783
2 Peter Leow 2,954
3 Maciej Los 2,819
4 DamithSL 2,465


Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 3 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100