Skip to content

Using pbkdf2Sync function with sha256 gives different key with different system architecture (32 bit and 64 bit) #148

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1.Create a simple javascript and require crypto.
2.crypto.pbkdf2Sync("12345", "salt", 10000, 14, "sha256");
3.Run it in with 32 bit and 64 bit systems.

What is the expected output? What do you see instead?
Both should return same output but its observed that outputs vary.

What version of the product are you using? On what operating system?
Using node v0.12.4 to run the script created in as mentioned above, tried on 
ubuntu 14.04 64 bit and 32 bit systems.

Original issue reported on code.google.com by harish...@gmail.com on 11 Jun 2015 at 2:15

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions