diff --git a/doc/api/crypto.md b/doc/api/crypto.md index ab33ff3a578d13..51fa99159fa1d7 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1415,25 +1415,6 @@ something has to be unpredictable and unique, but does not have to be secret; it is important to remember that an attacker must not be able to predict ahead of time what a given IV will be. -### crypto.createCredentials(details) - - -> Stability: 0 - Deprecated: Use [`tls.createSecureContext()`][] instead. - -- `details` {Object} Identical to [`tls.createSecureContext()`][]. -- Returns: {tls.SecureContext} - -The `crypto.createCredentials()` method is a deprecated function for creating -and returning a `tls.SecureContext`. It should not be used. Replace it with -[`tls.createSecureContext()`][] which has the exact same arguments and return -value. - -Returns a `tls.SecureContext`, as-if [`tls.createSecureContext()`][] had been -called. - ### crypto.createDecipher(algorithm, password[, options])