@@ -568,7 +568,7 @@ added: v0.1.94
568568-->
569569
570570* ` outputEncoding ` {string} The [ encoding] [ ] of the return value.
571- * Returns: {Buffer | string} Any remaining enciphered contents.
571+ * Returns: {Buffer| string} Any remaining enciphered contents.
572572 If ` outputEncoding ` is specified, a string is
573573 returned. If an ` outputEncoding ` is not provided, a [ ` Buffer ` ] [ ] is returned.
574574
@@ -651,7 +651,7 @@ changes:
651651* ` data ` {string|Buffer|TypedArray|DataView}
652652* ` inputEncoding ` {string} The [ encoding] [ ] of the data.
653653* ` outputEncoding ` {string} The [ encoding] [ ] of the return value.
654- * Returns: {Buffer | string}
654+ * Returns: {Buffer| string}
655655
656656Updates the cipher with ` data ` . If the ` inputEncoding ` argument is given,
657657the ` data `
@@ -878,7 +878,7 @@ added: v0.1.94
878878-->
879879
880880* ` outputEncoding ` {string} The [ encoding] [ ] of the return value.
881- * Returns: {Buffer | string} Any remaining deciphered contents.
881+ * Returns: {Buffer| string} Any remaining deciphered contents.
882882 If ` outputEncoding ` is specified, a string is
883883 returned. If an ` outputEncoding ` is not provided, a [ ` Buffer ` ] [ ] is returned.
884884
@@ -997,7 +997,7 @@ changes:
997997* ` data ` {string|Buffer|TypedArray|DataView}
998998* ` inputEncoding ` {string} The [ encoding] [ ] of the ` data ` string.
999999* ` outputEncoding ` {string} The [ encoding] [ ] of the return value.
1000- * Returns: {Buffer | string}
1000+ * Returns: {Buffer| string}
10011001
10021002Updates the decipher with ` data ` . If the ` inputEncoding ` argument is given,
10031003the ` data `
@@ -1086,7 +1086,7 @@ added: v0.5.0
10861086* ` otherPublicKey ` {string|ArrayBuffer|Buffer|TypedArray|DataView}
10871087* ` inputEncoding ` {string} The [ encoding] [ ] of an ` otherPublicKey ` string.
10881088* ` outputEncoding ` {string} The [ encoding] [ ] of the return value.
1089- * Returns: {Buffer | string}
1089+ * Returns: {Buffer| string}
10901090
10911091Computes the shared secret using ` otherPublicKey ` as the other
10921092party's public key and returns the computed shared secret. The supplied
@@ -1106,7 +1106,7 @@ added: v0.5.0
11061106-->
11071107
11081108* ` encoding ` {string} The [ encoding] [ ] of the return value.
1109- * Returns: {Buffer | string}
1109+ * Returns: {Buffer| string}
11101110
11111111Generates private and public Diffie-Hellman key values unless they have been
11121112generated or computed already, and returns
@@ -1126,7 +1126,7 @@ added: v0.5.0
11261126-->
11271127
11281128* ` encoding ` {string} The [ encoding] [ ] of the return value.
1129- * Returns: {Buffer | string}
1129+ * Returns: {Buffer| string}
11301130
11311131Returns the Diffie-Hellman generator in the specified ` encoding ` .
11321132If ` encoding ` is provided a string is
@@ -1139,7 +1139,7 @@ added: v0.5.0
11391139-->
11401140
11411141* ` encoding ` {string} The [ encoding] [ ] of the return value.
1142- * Returns: {Buffer | string}
1142+ * Returns: {Buffer| string}
11431143
11441144Returns the Diffie-Hellman prime in the specified ` encoding ` .
11451145If ` encoding ` is provided a string is
@@ -1152,7 +1152,7 @@ added: v0.5.0
11521152-->
11531153
11541154* ` encoding ` {string} The [ encoding] [ ] of the return value.
1155- * Returns: {Buffer | string}
1155+ * Returns: {Buffer| string}
11561156
11571157Returns the Diffie-Hellman private key in the specified ` encoding ` .
11581158If ` encoding ` is provided a
@@ -1165,7 +1165,7 @@ added: v0.5.0
11651165-->
11661166
11671167* ` encoding ` {string} The [ encoding] [ ] of the return value.
1168- * Returns: {Buffer | string}
1168+ * Returns: {Buffer| string}
11691169
11701170Returns the Diffie-Hellman public key in the specified ` encoding ` .
11711171If ` encoding ` is provided a
@@ -1325,7 +1325,7 @@ added: v10.0.0
13251325* ` inputEncoding ` {string} The [ encoding] [ ] of the ` key ` string.
13261326* ` outputEncoding ` {string} The [ encoding] [ ] of the return value.
13271327* ` format ` {string} ** Default:** ` 'uncompressed' `
1328- * Returns: {Buffer | string}
1328+ * Returns: {Buffer| string}
13291329
13301330Converts the EC Diffie-Hellman public key specified by ` key ` and ` curve ` to the
13311331format specified by ` format ` . The ` format ` argument specifies point encoding
@@ -1404,7 +1404,7 @@ changes:
14041404* ` otherPublicKey ` {string|ArrayBuffer|Buffer|TypedArray|DataView}
14051405* ` inputEncoding ` {string} The [ encoding] [ ] of the ` otherPublicKey ` string.
14061406* ` outputEncoding ` {string} The [ encoding] [ ] of the return value.
1407- * Returns: {Buffer | string}
1407+ * Returns: {Buffer| string}
14081408
14091409Computes the shared secret using ` otherPublicKey ` as the other
14101410party's public key and returns the computed shared secret. The supplied
@@ -1431,7 +1431,7 @@ added: v0.11.14
14311431
14321432* ` encoding ` {string} The [ encoding] [ ] of the return value.
14331433* ` format ` {string} ** Default:** ` 'uncompressed' `
1434- * Returns: {Buffer | string}
1434+ * Returns: {Buffer| string}
14351435
14361436Generates private and public EC Diffie-Hellman key values, and returns
14371437the public key in the specified ` format ` and ` encoding ` . This key should be
@@ -1451,7 +1451,7 @@ added: v0.11.14
14511451-->
14521452
14531453* ` encoding ` {string} The [ encoding] [ ] of the return value.
1454- * Returns: {Buffer | string} The EC Diffie-Hellman in the specified ` encoding ` .
1454+ * Returns: {Buffer| string} The EC Diffie-Hellman in the specified ` encoding ` .
14551455
14561456If ` encoding ` is specified, a string is returned; otherwise a [ ` Buffer ` ] [ ] is
14571457returned.
@@ -1464,7 +1464,7 @@ added: v0.11.14
14641464
14651465* ` encoding ` {string} The [ encoding] [ ] of the return value.
14661466* ` format ` {string} ** Default:** ` 'uncompressed' `
1467- * Returns: {Buffer | string} The EC Diffie-Hellman public key in the specified
1467+ * Returns: {Buffer| string} The EC Diffie-Hellman public key in the specified
14681468 ` encoding ` and ` format ` .
14691469
14701470The ` format ` argument specifies point encoding and can be ` 'compressed' ` or
@@ -1754,7 +1754,7 @@ added: v0.1.92
17541754-->
17551755
17561756* ` encoding ` {string} The [ encoding] [ ] of the return value.
1757- * Returns: {Buffer | string}
1757+ * Returns: {Buffer| string}
17581758
17591759Calculates the digest of all of the data passed to be hashed (using the
17601760[ ` hash.update() ` ] [ ] method).
@@ -1915,7 +1915,7 @@ added: v0.1.94
19151915-->
19161916
19171917* ` encoding ` {string} The [ encoding] [ ] of the return value.
1918- * Returns: {Buffer | string}
1918+ * Returns: {Buffer| string}
19191919
19201920Calculates the HMAC digest of all of the data passed using [ ` hmac.update() ` ] [ ] .
19211921If ` encoding ` is
@@ -2122,7 +2122,7 @@ changes:
21222122-->
21232123
21242124* ` options ` {Object}
2125- * Returns: {string | Buffer | Object}
2125+ * Returns: {string| Buffer| Object}
21262126
21272127For symmetric keys, the following encoding options can be used:
21282128
@@ -2141,7 +2141,7 @@ For private keys, the following encoding options can be used:
21412141* ` cipher ` {string} If specified, the private key will be encrypted with
21422142 the given ` cipher ` and ` passphrase ` using PKCS #5 v2.0 password based
21432143 encryption.
2144- * ` passphrase ` {string | Buffer} The passphrase to use for encryption, see
2144+ * ` passphrase ` {string| Buffer} The passphrase to use for encryption, see
21452145 ` cipher ` .
21462146
21472147The result type depends on the selected encoding format, when PEM the
@@ -2351,7 +2351,7 @@ changes:
23512351 * ` padding ` {integer}
23522352 * ` saltLength ` {integer}
23532353* ` outputEncoding ` {string} The [ encoding] [ ] of the return value.
2354- * Returns: {Buffer | string}
2354+ * Returns: {Buffer| string}
23552355
23562356<!-- lint enable maximum-line-length remark-lint-->
23572357
@@ -3645,7 +3645,7 @@ changes:
36453645 ** Default:** ` 'pem' ` .
36463646 * ` type ` {string} Must be ` 'pkcs1' ` , ` 'pkcs8' ` or ` 'sec1' ` . This option is
36473647 required only if the ` format ` is ` 'der' ` and ignored otherwise.
3648- * ` passphrase ` {string | Buffer} The passphrase to use for decryption.
3648+ * ` passphrase ` {string| Buffer} The passphrase to use for decryption.
36493649 * ` encoding ` {string} The string encoding to use when ` key ` is a string.
36503650* Returns: {KeyObject}
36513651
@@ -4006,8 +4006,8 @@ changes:
40064006 * ` privateKeyEncoding ` {Object} See [ ` keyObject.export() ` ] [ ] .
40074007* ` callback ` {Function}
40084008 * ` err ` {Error}
4009- * ` publicKey ` {string | Buffer | KeyObject}
4010- * ` privateKey ` {string | Buffer | KeyObject}
4009+ * ` publicKey ` {string| Buffer| KeyObject}
4010+ * ` privateKey ` {string| Buffer| KeyObject}
40114011
40124012Generates a new asymmetric key pair of the given ` type ` . See the
40134013supported [ asymmetric key types] [ ] .
@@ -4128,8 +4128,8 @@ changes:
41284128 * ` publicKeyEncoding ` {Object} See [ ` keyObject.export() ` ] [ ] .
41294129 * ` privateKeyEncoding ` {Object} See [ ` keyObject.export() ` ] [ ] .
41304130* Returns: {Object}
4131- * ` publicKey ` {string | Buffer | KeyObject}
4132- * ` privateKey ` {string | Buffer | KeyObject}
4131+ * ` publicKey ` {string| Buffer| KeyObject}
4132+ * ` privateKey ` {string| Buffer| KeyObject}
41334133
41344134Generates a new asymmetric key pair of the given ` type ` . See the
41354135supported [ asymmetric key types] [ ] .
@@ -5758,7 +5758,7 @@ changes:
57585758
57595759<!-- lint disable maximum-line-length remark-lint-->
57605760
5761- * ` algorithm ` {string | null | undefined}
5761+ * ` algorithm ` {string| null| undefined}
57625762* ` data ` {ArrayBuffer|Buffer|TypedArray|DataView}
57635763* ` key ` {Object|string|ArrayBuffer|Buffer|TypedArray|DataView|KeyObject|CryptoKey}
57645764* ` callback ` {Function}
@@ -5887,7 +5887,7 @@ changes:
58875887<!-- lint disable maximum-line-length remark-lint-->
58885888
58895889* ` algorithm ` {string|null|undefined}
5890- * ` data ` {ArrayBuffer| Buffer|TypedArray|DataView}
5890+ * ` data ` {ArrayBuffer|Buffer|TypedArray|DataView}
58915891* ` key ` {Object|string|ArrayBuffer|Buffer|TypedArray|DataView|KeyObject|CryptoKey}
58925892* ` signature ` {ArrayBuffer|Buffer|TypedArray|DataView}
58935893* ` callback ` {Function}
0 commit comments