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 17, 2016
1 parent 0605d41 commit 3006485
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 3006485

Please sign in to comment.