Encryption method that works both in ABAP and PHP?Get the solution ↓↓↓
Is there is any encryption function that work in SAP and PHP, of course except using BASE64 encode-decode method.
The scenario is
- ABAP encrypt string with key.
- The string send to PHP.
- PHP decrypt the string using key.
Thank you very much for any advise.
Base64 doesn't an encryption method. @Dirk shared a blog post, which has information about
If your system hasn't got this class you can use AES library. It has more capable than
cl_sec_sxml_writer class. You can use ECB, CBC, PCBC, CFB, OFB, CTR encryption modes and None, PKCS #5, PKCS #7 padding standarts.
Another option is using
SSF_KRN_ENVELOPE function for encrypt. It use RSA standart so result may be huge for ofen trasfers. It is using server certificate for encryption, you an check certificate in
STRUST t-code. You check
SSF01 demo program.
People are also looking for solutions of the problem: php_network_getaddresses: getaddrinfo failed: temporary failure in name resolution
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.