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
74d9aa4 added the digest parameter for the crypto.pbkdf2*() methods (the change is also listed in the changelog here and here). Before that commit, SHA-1 was always used as the digest algorithm. That commit landed post-v0.10, so node v0.12 was the first "stable" version that supported the new parameter.
You can verify this by using 'sha1' instead of 'sha256' and you will see the same value as node v0.10.
I'm trying to get the same results from
crypto.pbkdf2Sync
for all node versions from 0.10.x onwards.This code:
produces the following output when run against various node versions:
First of all, am I using the API correctly?
If so, what changed post v0.10.41 to produce differing results?
The text was updated successfully, but these errors were encountered: