Question

Encryption on Fields

Hi Team, I have a requirement as below. Need to encrypt SSN property and generate a report (EXCEL). I tried giving the data type as "TextEncrypted " in property SSN. But when I refer it any section post submission of screen I see activity success status page. And I don't see the SSN property in work object when I open the class insances or when I did obj-open- by handle. Can some one suggest me a best methods to encrypt this

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Correct Answer
September 6, 2015 - 5:27am

Comments

Keep up to date on this post and subscribe to comments

Pega
September 6, 2015 - 5:27am

September 8, 2015 - 1:52am

Hi Phani,

I tried this text encrypted option initially but in below link its mentioned that this cannot be used in production.

So could you please comment on this?Can I use text encrypted option in Prod?

And we generate reports (excel) with this encrypted fields so in that reports also it shd be encrypted so could u suggest me a approach.

https://pdn.pega.com/encrypting-properties-and-blobs

September 10, 2015 - 10:55am
Response to RegulageddaPavani

The only thing we recommend changing in PROD is the algorithm used for encrypting properties. See this PDN article that has more details on using site specific cipher:

https://pdn.pega.com/security/how-to-encrypt-passwords-properties-and-blobs

Pega
September 10, 2015 - 1:06pm

for SSN, we had used a custom control on text type property and masked the data on UI in a required format...

October 29, 2015 - 5:43am
Response to sahup1

How to mask the data in UI for custom control?

Pega
October 29, 2015 - 8:25am
Response to SumitV24

we've to write a custom logic may be referring to starting character to required length replacing it with either X || *. Configure this custom control to the property in section rule.

August 25, 2016 - 11:03am
Response to sahup1

hi sahul,

can you please send sample code to implement this functionality.

September 21, 2015 - 2:18am

Thank you for your replies