Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

AES Encryption method

Roshan Tiwari
Tera Guru

Hi,

 

We are trying to encrypt the http request payload content body to AES encryption method.

 

Test Body:

{

"test": "testing"

}

 

I have tried with base64encode but getting below error, when we are trying to read the encrypted values.

 

Error message: Input length must be multiple of 16 when decrypting with padded cipher.

1 REPLY 1

berkninan
Kilo Contributor