Expand my Community achievements bar.

Accelerate your Campaign learning with the Adobe Campaign Mentorship Program 2023!
SOLVED

where do I find cryptoJS Library

Avatar

Level 3

where do I find cryptoJS Library

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
7 Replies

Avatar

Correct answer by
Community Advisor

Hello @amritakedia_epsilon 

 

You can download it from here:

https://code.google.com/archive/p/crypto-js/downloads


     Manoj
     Find me on LinkedIn

Avatar

Level 3

Thanks Manoj . Then how can i import the Library in ACC ?

Avatar

Community Advisor
You can upload the file in Javascript folder and then use loadLibrary in workflow

     Manoj
     Find me on LinkedIn

Avatar

Level 3

Manoj,

 

There are so many files as below. Do I need to import it all ? 

 

amritakedia_epsilon_0-1604589727287.png

 

Avatar

Level 3

Manoj,

 

I imported the library .

 

But I am getting below error when i use the code ('use strict';const crypto = require("crypto"); ) in the Java script task 

11/05/2020 1:43:33 PM js JST-310000 Error while compiling script 'gmfWKF254/js' line 3: require is not defined.
11/05/2020 1:43:33 PM js SCR-160012 Javascript: error while evaluating script 'gmfWKF254/js'.

Avatar

Administrator
Hi @Manoj_Kumar_, Is this something you can help @amritakedia_epsilon with? Kindly help if possible.


Sukrity Wadhwa