Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
OIC Library - Unable to create a working javascript library involving public API's ex:CryptoJS — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OIC Library - Unable to create a working javascript library involving public API's ex:CryptoJS

Received Response
14
Views
2
Comments

Summary: Requirement is to perform payload encryption in OIC using the available public library of CryptoJS or node-forge


Content (required): To achieve the requirement, I created a custom Javascript that can call the Available functions in the CryptoJS/node-forge libraries. Bundled up all the .js files of Crypto along with the custom Javascript and created a Library in OIC.

After fixing few issues in the public libraries like commenting the 'include','module','window' references, I get Reference error that the function is not defined 'ReferenceError: "cipher" is not defined'.

How can I call the function of the Crypto library in the custom Library? is there any specific method?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!