You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Create a simple html document inside project dir (attached as index.html)
which includes a script tag with src="rollups/pbkdf2.js"
2. Follow steps in the PBKDF2 example
3. Open the javascript console and inspect the contents of each example variable
What is the expected output? What do you see instead?
The output I'm expecting from CryptoJS.PBKDF2 is a hex digest or some sort, but
I get an object.
What version of the product are you using? On what operating system?
v3, OSX Lion
Please provide any additional information below.
Original issue reported on code.google.com by marshall...@gmail.com on 15 May 2012 at 4:22
The object you're getting is a WordArray object. You can convert that object to
a string of hex digits by using it in a string context, e.g.
key128Bits + ''
or by explicitly calling the toString method.
key128Bits.toString()
There's more detail in the quick-start guide's "hasher output" section.
http://code.google.com/p/crypto-js/#The_Hasher_Output
Original comment by Jeff.Mott.OR on 15 May 2012 at 4:52
Original issue reported on code.google.com by
marshall...@gmail.com
on 15 May 2012 at 4:22Attachments:
The text was updated successfully, but these errors were encountered: