cancel
Showing results for 
Search instead for 
Did you mean: 

ABSL, SAP ByDesign - Encryption Functionality

piotr_ceglinski
Discoverer
0 Kudos
278

Hello,
We need for one of our solutions to establish secure, encrypted connection with custom API. How we can encrypt messages in ABSL language in SAP BusinessByDesign? Messages are sent by REST protocol. What are ways to incorporate symmetric-key encryption and asymmetric encryption.

With regards,
Peter

Accepted Solutions (0)

Answers (2)

Answers (2)

Josip
Discoverer
0 Kudos

Either you use some of SAP middleware where that option is possible or you create/use a web service and host it somewhere where you can send the info that needs to be encrypted and then you store that data back in byd for future use. For now no other options

kostadin_terziev
Participant
0 Kudos

Hi Peter,

You can try using one of the Platinum Engineering libraries.

import ABSL;

import AP.PlatinumEngineering;

var StringToBeEncrypted : XPEString;

StringToBeEncrypted = "test-123";

var Secretkey : XPEString;

Secretkey = "ExactlyThisLeng!" ; // the secretkey must have exactly this length

var EncryptedString = Hash.EncryptString("AES128",StringToBeEncrypted,Secretkey); // "AES128", "AES192", "AES256" can be used
piotr_ceglinski
Discoverer
0 Kudos
Thank You for the reply. I tried this library but there is not possible to decrypt the message on the API side