From 3475591d1c1d9ea7ce8ea96d81119cdaf47d9eeb Mon Sep 17 00:00:00 2001 From: Ruslan Iusupov Date: Fri, 24 Jun 2016 23:24:09 +0200 Subject: [PATCH] doc: fix "sign.verify" typo in crypto doc. Fix typo in example PR-URL: https://github.com/nodejs/node/pull/7411 Reviewed-By: Brian White Reviewed-By: Anna Henningsen Reviewed-By: Sakthipriyan Vairamani Reviewed-By: James M Snell --- doc/api/crypto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index e195c98e322746..2738b395e655a7 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -809,7 +809,7 @@ verify.end(); const public_key = getPublicKeySomehow(); const signature = getSignatureToVerify(); -console.log(sign.verify(public_key, signature)); +console.log(verify.verify(public_key, signature)); // Prints true or false ```