diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 6fa3b1e132868f..6ec85da64be05d 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -734,7 +734,7 @@ console.log(sign.sign(private_key, 'hex')); // Prints the calculated signature ``` -A [`sign`][] instance can also be created by just passing in the digest +A `Sign` instance can also be created by just passing in the digest algorithm name, in which case OpenSSL will infer the full signature algorithm from the type of the PEM-formatted private key, including algorithms that do not have directly exposed name constants, e.g. 'ecdsa-with-SHA256'.