diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index c4c7f75f0de29e..c50e0ba1f29504 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -912,7 +912,7 @@ The `key` is the raw key used by the `algorithm` and `iv` is an [initialization vector][]. Both arguments must be `'binary'` encoded strings or [buffers][]. -## crypto.createDiffieHellman(prime[, prime_encoding][, generator][, generator_encoding]) +### crypto.createDiffieHellman(prime[, prime_encoding][, generator][, generator_encoding]) Creates a `DiffieHellman` key exchange object using the supplied `prime` and an optional specific `generator`.