Skip to Content
Jun 21, 2022 at 05:36 AM

How to encrypt payload using a 32 byte string with AES/CBC/PKCS5Padding algorithm ?

227 Views Last edit Jun 21, 2022 at 12:06 PM 3 rev

Hi Guru's,

We need to encrypt incoming payload with a 32 byte string using AES/CBC/PKCS5Padding algorithm in CPI.

We've been analysing the standard encryption functionalities available in CPI but I am beginning to think they cant help directly with above requirement.

Example :

32byte Symmetric key - fpOBWSiDeP6kIjbyYFDGu3TnBqxTEpLT

We need to Encrypt the payload with above key using AES/CBC/PKCS5Padding algorithm.

Below is a sample screenshot from an online encryption service (


It would help a lot if you could share your experiences with similar scenarios or guide me to helpful documents.

Thanks & Regards



image.png (32.1 kB)