Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: CryptoJS is not defined #15

Open
jsandeepm opened this issue Apr 23, 2020 · 2 comments
Open

ReferenceError: CryptoJS is not defined #15

jsandeepm opened this issue Apr 23, 2020 · 2 comments

Comments

@jsandeepm
Copy link

ReferenceError: CryptoJS is not defined

What might be the issue?

I have included below lines:

<script src="bower_components/angularjs-crypto/public/js/lib/angularjs-crypto.js"></script>
<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>

image

@imhkgupta007
Copy link

I'm also facing this same issue with CryptoJSCipher. Can you please tell if you found any solution?

@BestieeMu
Copy link

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();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants