Filter the Card/Bank/SSN and Encrypt them

Feb 14 2019 12:46 PM

I want a VB.NET code 

 
I have...

Dim strXML as string="

12121212121212
VI
0623
2036220196290
A
N
R
2016-04-11T11:02:13-04:00
100001
BILLPAY
9950

"

I have to parse that xml and encrypt the Card/Bank/SSN values and get the output as below
*Basically the elementName can be any thing and I have to filter then and find out if there are words like Card/Bank/SSN in the ElementTagName, I have to encrypt the value.


Dim strXML as string="

&*&*&*&*&**^%^%
%$%$%$%$$%$%$%$%
0623
&^^^&^&^&^&*&*(**^
A
N
R
2016-04-11T11:02:13-04:00
100001
BILLPAY
9950

"


Answers (1)