On May 29, 12:15 pm, James Coglan <jcog...@gmail.com> wrote:
> Can someone explain why the outputs are different? I'm trying make
> something that's portable between the server and the client, so need to
> pick a library I can rely on for consistent output.

It seems the crypto.pbkdf2() in node is returning a binary string
instead of a Buffer. Try this: (new Buffer(key1,
'binary')).toString('hex')

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to