angularjs-crypto
angularjs-crypto copied to clipboard
ReferenceError: CryptoJS is not defined
ReferenceError: CryptoJS is not defined
What might be the issue?
I have included below lines:
<script src="bower_components/angularjs-crypto/public/js/lib/plugins/CryptoJSCipher.js"></script>
<!-- cryptojs aes files -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/components/aes.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/components/mode-ecb.js"></script>

I'm also facing this same issue with CryptoJSCipher. Can you please tell if you found any solution?
Am facing same issue also cryptojs is not defined error This my code function encryptPass(){ let passcryp = CryptoJS.AES.encrypt(password.value, password.value);
return passcryp.toString(); }