From: Marc Cuva Date: Thu, 18 Feb 2016 19:12:56 +0000 (-0800) Subject: doc: fix typo in pbkdf2Sync code sample X-Git-Tag: v4.4.1~77 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=38d429172d16123710991c25affc8e7e7d152249;p=platform%2Fupstream%2Fnodejs.git doc: fix typo in pbkdf2Sync code sample Function name in code sample had the wrong capitalization. PR-URL: https://github.com/nodejs/node/pull/5306 Reviewed-By: Roman Reiss --- diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index dce83c5..d6932f8 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -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' ```