I try to use cryptojs to make a sha1 encryption, but my problem is that i cant get my app.js to find "crypto-js". I have also tried to inject with cdn but dosent work either. Is there some kind of way i can put a module into a module in angular?
var handshake = CryptoJS.AES.encrypt("handshake" + requestTime); I cant use CryptoJS here it says it cant find it in my app.js.
via Thomas Staal
No comments:
Post a Comment