diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 35c15a7748ecc5..2a699ae73b5871 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1821,6 +1821,9 @@ Creates and returns a new key object containing a private key. If `key` is a string or `Buffer`, `format` is assumed to be `'pem'`; otherwise, `key` must be an object with the properties described above. +If the private key is encrypted, a `passphrase` must be specified. The length +of the passphrase is limited. + ### crypto.createPublicKey(key)