My current setup including:
manifest.json:
"background": {
"scripts": [
"scripts/cryptojs.js",
"scripts/background.js"
]
},
But when I actually call the Crypto function like,
code inside background.js:
var calculated_hash = CryptoJS.MD5(textValue);
The backgroud console error says,
CryptoJS is not defined