How to generate random key (Initialization Vector) from Java script (Adobe camapign classic) | Community
Skip to main content
thomaso34696569
Level 2
October 11, 2021
Solved

How to generate random key (Initialization Vector) from Java script (Adobe camapign classic)

  • October 11, 2021
  • 1 reply
  • 1026 views

How to generate random key (Initialization Vector) with 128 byte from a Java script (Adobe camapign classic)?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Milan_Vucetic

Hello @thomaso34696569 

I would suggest to download and import some external library (min.js) which can generate random IV.

Create new JS file and paste code from min.js and load that JS file (loadLibrary("cus:yourfile.js");) in workflow or other JS where you want to generate IV. 

I would say there is not default function in ACC to do it therefore you can do suggested above.

Regards,

Milan 

1 reply

Milan_Vucetic
Milan_VuceticAccepted solution
Level 9
October 11, 2021

Hello @thomaso34696569 

I would suggest to download and import some external library (min.js) which can generate random IV.

Create new JS file and paste code from min.js and load that JS file (loadLibrary("cus:yourfile.js");) in workflow or other JS where you want to generate IV. 

I would say there is not default function in ACC to do it therefore you can do suggested above.

Regards,

Milan