Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

thomaso34696569
Level 2
Level 2

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

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution
Milan_Vucetic
Correct answer by
Community Advisor
Community Advisor

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 

View solution in original post

1 Reply
Milan_Vucetic
Correct answer by
Community Advisor
Community Advisor

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 

View solution in original post