snicksnk / crypto-js

Automatically exported from code.google.com/p/crypto-js
0 stars 0 forks source link

CryptoJS undefined error in browser console #83

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. added core.js and sha1.js in my project
2. when i do CryptoJS in browser console, i get CryptoJS undefined error.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.
Can you help me how to use this library?

Original issue reported on code.google.com by nee...@gmail.com on 17 Mar 2013 at 3:30

GoogleCodeExporter commented 8 years ago
The project home page has working examples that you can copy-paste. Without any 
more detail about your project or your code, that's the best I can tell you.

Original comment by Jeff.Mott.OR on 17 Mar 2013 at 5:32

GoogleCodeExporter commented 8 years ago
I want to hash an input string using sha1. I downloaded the files core.js and 
sha1.js togehter and loaded them. Loading of these files is taken care by the 
framework. I can see these 2 files in browser scripts, but still i get CryptoJS 
undefined? Can you provide any comments to which all files need to be loaded to 
use sha1?

Original comment by nee...@gmail.com on 17 Mar 2013 at 5:41

GoogleCodeExporter commented 8 years ago
core.js and sha1.js are the correct files you need. I can't give you a more 
detailed answer unless you give more details about the problem. You need to 
provide code that will reproduce the issue.

Original comment by Jeff.Mott.OR on 17 Mar 2013 at 6:21

GoogleCodeExporter commented 8 years ago

Original comment by Jeff.Mott.OR on 18 Mar 2013 at 3:52