diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index d6932f8e9dd5ee..2e3d36d81cb004 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -908,7 +908,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][`Buffer`]. -## 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`.