diff --git a/doc/api/crypto.md b/doc/api/crypto.md
index 7cd2dd26f2c3c2..701e9766704566 100644
--- a/doc/api/crypto.md
+++ b/doc/api/crypto.md
@@ -2622,31 +2622,6 @@ generateKey('hmac', { length: 64 }, (err, key) => {
});
```
-### `crypto.generateKeySync(type, options)`
-
-
-* `type`: {string} The intended use of the generated secret key. Currently
- accepted values are `'hmac'` and `'aes'`.
-* `options`: {Object}
- * `length`: {number} The bit length of the key to generate.
- * If `type` is `'hmac'`, the minimum is 1, and the maximum length is
- 231-1. If the value is not a multiple of 8, the generated
- key will be truncated to `Math.floor(length / 8)`.
- * If `type` is `'aes'`, the length must be one of `128`, `192`, or `256`.
-* Returns: {KeyObject}
-
-Synchronously generates a new random secret key of the given `length`. The
-`type` will determine which validations will be performed on the `length`.
-
-```js
-const { generateKeySync } = require('crypto');
-
-const key = generateKeySync('hmac', 64);
-console.log(key.export().toString('hex')); // e89..........41e
-```
-
### `crypto.generateKeyPair(type, options, callback)`
+
+* `type`: {string} The intended use of the generated secret key. Currently
+ accepted values are `'hmac'` and `'aes'`.
+* `options`: {Object}
+ * `length`: {number} The bit length of the key to generate.
+ * If `type` is `'hmac'`, the minimum is 1, and the maximum length is
+ 231-1. If the value is not a multiple of 8, the generated
+ key will be truncated to `Math.floor(length / 8)`.
+ * If `type` is `'aes'`, the length must be one of `128`, `192`, or `256`.
+* Returns: {KeyObject}
+
+Synchronously generates a new random secret key of the given `length`. The
+`type` will determine which validations will be performed on the `length`.
+
+```js
+const { generateKeySync } = require('crypto');
+
+const key = generateKeySync('hmac', 64);
+console.log(key.export().toString('hex')); // e89..........41e
+```
+
### `crypto.generatePrime(size[, options[, callback]])`
-
-* Returns: {string[]} An array with the names of the supported cipher
- algorithms.
-
-```js
-const ciphers = crypto.getCiphers();
-console.log(ciphers); // ['aes-128-cbc', 'aes-128-ccm', ...]
-```
-
### `crypto.getCipherInfo(nameOrNid[, options])`
+
+* Returns: {string[]} An array with the names of the supported cipher
+ algorithms.
+
+```js
+const ciphers = crypto.getCiphers();
+console.log(ciphers); // ['aes-128-cbc', 'aes-128-ccm', ...]
+```
+
### `crypto.getCurves()`