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

Uncaught TypeError: Cannot read property 'init' of undefined #133

Open
GoogleCodeExporter opened this issue May 5, 2015 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

I am trying to convert the string into encrypted key
here is my line : 
var key = CryptoJS.PBKDF2(password, salt, { hasher: CryptoJS.algo.SHA256, 
keySize: 128 / 32, iterations: 1000 });

when i use the "hasher: CryptoJS.algo.SHA256" it throws an error. 
if i use it without hasher it works.

Original issue reported on code.google.com by [email protected] on 21 Jun 2014 at 11:06

@GoogleCodeExporter
Copy link
Author

Sounds like the SHA256 file wasn't loaded.

Original comment by Jeff.Mott.OR on 21 Jun 2014 at 3:26

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

No branches or pull requests

1 participant