cancel
Showing results for 
Search instead for 
Did you mean: 

How to encrypt only one field (Credit Card field)

0 Kudos

Hello PI guru

We are using SAP PI 7.4 (Single Stack). I have a requirement where in I am getting PGP encrypted CSV file which I have to decrypt

and then do the mapping and send it to the target.

Each record will have a credit card number field which should be encrypted before being sent to the target system (SAP)

Without using UDF, is there a good way of achieving this?


Some limitations are

1. The source can't encrypt it.

2. For many reasons (including java resource) we don't want to use UDF.


Any comment or feedback will be highly appreciated.


Thanks in advance
Ram

Accepted Solutions (0)

Answers (4)

Answers (4)

GauravKant
Contributor
0 Kudos

Hi Ram,

You are using Single stack that is also java based only. So i think you cant ignore java

I dont think is there any other way except UDF or javamapping to encrypt one field.

PFB thread for UDF.

Regards,

Gaurav

former_member229310
Active Participant
0 Kudos

Hello Ram,

Could you please let me know how did you manage to complete this design. How did you / decrypt only credit details field in the mapping.

Any inputs shall be helpful.

Regards,

Hari

Former Member
0 Kudos

Hi Ram,

Also, check this if it can be of some help to you

former_member184720
Active Contributor
0 Kudos

>>>Without using UDF, is there a good way of achieving this?

we don't have a standard function to apply the encryption at field level.

AFAIK - You need a UDF/Java mapping/ AM to achieve this despite your limitations.

Helpful resources-

AM :

JM: