08-06-2017 12:46 PM
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?
03-06-2020 8:11 AM
10-06-2022 7:31 AM
Hi,
we have a similar requirement to encrypt the file with an AES key shared by the client. Did you get any solutions for this; Please share.
Thanks,
Aman
10-21-2022 4:50 PM
Hi, amansrivastava:
While we're happy that you've come to SAP Community to get an answer to your question, you posted your question as an answer in a thread from 5 years ago.
I've converted your answer to a comment, but even so -- posting in older threads is not the best way to get guidance.
If you're looking for help, you should ask a new question: https://answers.sap.com/questions/ask.html.
Here are some tips to help you craft an effective question for our community: https://community.sap.com/resources/questions-and-answers, https://developers.sap.com/tutorials/community-qa.html.
I encourage you to follow this guidance, as I'd really like to see you get a solution to your problem.
I hope you find this advice useful!
All the best,
--Jerry
02-15-2023 1:26 PM
Hello mohantysonali,
did you find the solution because I have the same problem ?
02-15-2023 2:30 PM
Hi Arka,
Please check Git hub. https://github.com/Sumu-Ning/AES
You may get an idea. In our case we did it differently using some Linux Command passing the string and reciving the result
02-16-2023 1:52 PM
Hi mohantysonali,
thank you for information but that doesn't work with public key.