projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4cfc6f
)
doc: fix typo in pbkdf2Sync code sample
author
Marc Cuva
<mjcuva@gmail.com>
Thu, 18 Feb 2016 19:12:56 +0000
(11:12 -0800)
committer
Myles Borins
<mborins@us.ibm.com>
Mon, 21 Mar 2016 19:57:56 +0000
(12:57 -0700)
Function name in code sample had the wrong capitalization.
PR-URL: https://github.com/nodejs/node/pull/5306
Reviewed-By: Roman Reiss <me@silverwind.io>
doc/api/crypto.markdown
patch
|
blob
|
history
diff --git
a/doc/api/crypto.markdown
b/doc/api/crypto.markdown
index
dce83c5
..
d6932f8
100644
(file)
--- a/
doc/api/crypto.markdown
+++ b/
doc/api/crypto.markdown
@@
-1131,7
+1131,7
@@
Example:
```js
const crypto = require('crypto');
-const key = crypto.pbkdf2
s
ync('secret', 'salt', 100000, 512, 'sha512');
+const key = crypto.pbkdf2
S
ync('secret', 'salt', 100000, 512, 'sha512');
console.log(key.toString('hex')); // 'c5e478d...1469e50'
```