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 Myles Borins committed Mar 21, 2016
1 parent d4cfc6f commit 38d4291
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 @@ -1131,7 +1131,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 38d4291

Please sign in to comment.