OIC Library - Unable to create a working javascript library involving public API's ex:CryptoJS
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?
Tagged:
0