Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7e51966

Browse filesBrowse files
mjcuvasilverwind
authored andcommitted
doc: fix typo in pbkdf2Sync code sample
Function name in code sample had the wrong capitalization. PR-URL: #5306 Reviewed-By: Roman Reiss <me@silverwind.io>
1 parent 8b1af2f commit 7e51966
Copy full SHA for 7e51966

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/crypto.markdown‎

Copy file name to clipboardExpand all lines: doc/api/crypto.markdown
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ Example:
11281128

11291129
```js
11301130
const crypto = require('crypto');
1131-
const key = crypto.pbkdf2sync('secret', 'salt', 100000, 512, 'sha512');
1131+
const key = crypto.pbkdf2Sync('secret', 'salt', 100000, 512, 'sha512');
11321132
console.log(key.toString('hex')); // 'c5e478d...1469e50'
11331133
```
11341134

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.