Skip to Content

Encryption in ABAP using AES 128 Bit BASE 64 Encoding

Aug 06, 2017 at 11:46 AM


avatar image

Hi Experts,

We have a requirement to encrypt data using AES algorithm and Encoding BASE64 using a AES key in ABAP. This key will be shared by a third party vendor. We have tried to use class CL_SEC_SXML_WRITER to do the same.

First we encrypt the the data(XSTRING), key(xstring) using Encrypt method. The output is in XSTRING format.

When the output is encoded in BASE64 format, the output is not correct.

Can someone guide if we are missing something?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers