From 50dd7d4644dffd170903f4356086a1e7874d7b8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Kr=C3=B3lik?= Date: Mon, 1 Feb 2016 09:45:50 +0100 Subject: [PATCH] Fix in crypto.markdown crypto.pbkdf2sync -> crypto.pbkdf2Sync --- doc/api/crypto.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index 9d42cebb2a49f8..91819740c27d4c 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -1128,7 +1128,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' ```