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 ```