Skip to content

Commit

Permalink
doc: fix typo in pbkdf2Sync code sample
Browse files Browse the repository at this point in the history
Function name in code sample had the wrong capitalization.

PR-URL: #5306
Reviewed-By: Roman Reiss <me@silverwind.io>
  • Loading branch information
mjcuva authored and silverwind committed Feb 25, 2016
1 parent 8b1af2f commit 7e51966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/crypto.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,7 @@ Example:

```js
const crypto = require('crypto');
const key = crypto.pbkdf2sync('secret', 'salt', 100000, 512, 'sha512');
const key = crypto.pbkdf2Sync('secret', 'salt', 100000, 512, 'sha512');
console.log(key.toString('hex')); // 'c5e478d...1469e50'
```

Expand Down

0 comments on commit 7e51966

Please sign in to comment.