From 6c94c67b73a77501650584bda475563dca6f0f68 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 f0d21238be3670..43e6167d2ef520 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -794,7 +794,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 ```