Skip to Content
0
Jul 22, 2020 at 04:14 PM

Field encryption with AES using 256 bit key through External Jar in SAP PI 7.5

198 Views Last edit Jul 22, 2020 at 04:17 PM 2 rev

Hi Experts,

I have a requirement to encrypt and hash a field (AES with given 256 bit key) in the mapping using an external jar. (which can be executed on Java 8 update 241)

I used the java mapping standalone to test and it works as expected.

I imported the java mapping jar ,added the external jar but now throws Error with provided key: AES exception in Operation mapping.

Also tried to use the external jar in a function library and used in UDF , throws same Error with provided key: AES exception.

To test the compatibility , I changed the key to 128 bit key and the same program works in operation mapping and udf in the mapping runtime

Can you please share your thoughts on this?

Is there a limitation due to the JRE / JDK version? how can we find out the current Java version of the mapping run time and is it possible to update from the current update to update 241?