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 rvagg committed Feb 27, 2016
1 parent 79b1c22 commit 903e8d0
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 @@ -1130,7 +1130,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 903e8d0

Please sign in to comment.