cancel
Showing results for 
Search instead for 
Did you mean: 

Data Encryption in WD Java Application

Former Member
0 Kudos

Hello Experts,

We have a requirement to send encypted user Id along with the URL to a third party system.

System details: NW 7.01

Please suggest the way to Encrypt the user id before appending it to the URL.

Thanks and Regards,

Ghanshyam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Use available Java libraries for AES e.g. (http://stackoverflow.com/questions/1205135/how-to-encrypt-string-in-java) Of course you will need appropriate functionality on receiver site. In generally, this is probably not a good approach at all. I would assume there are better ways to solve your requirement,

cheers

Former Member
0 Kudos

Thanks Lawrence for your response. I have tried to implement your solution but I was not able to import javax.crypto.Cipher in my WebDynpro application. Please suggest how to add this in my WD component.

Former Member
0 Kudos

Hi Ghanshyam,

Did you add javax-crypto.jar in your WD component.

BR,

Anurag

Former Member
0 Kudos

Hi Anurag,

Thanks for the insight. I have added 'IAIKSecurity' as used DC in the component to incorporate javax-crypto.jar in the component. It allows me to work with javax.crypto.Cipher.

I will implement the logic provided by Lawrence and will let you know if face any issue further.

Regards,

Ghanshyam

Answers (0)