@@ -57,7 +57,7 @@ data. The most common usage is handling output generated by the HTML5
57
57
<!-- YAML
58
58
added: v9.0.0
59
59
changes:
60
- - version: REPLACEME
60
+ - version: v15.0.0
61
61
pr-url: https://github.com/nodejs/node/pull/35093
62
62
description: The spkac argument can be an ArrayBuffer. Limited the size of
63
63
the spkac argument to a maximum of 2**31 - 1 bytes.
@@ -80,7 +80,7 @@ console.log(challenge.toString('utf8'));
80
80
<!-- YAML
81
81
added: v9.0.0
82
82
changes:
83
- - version: REPLACEME
83
+ - version: v15.0.0
84
84
pr-url: https://github.com/nodejs/node/pull/35093
85
85
description: The spkac argument can be an ArrayBuffer. Limited the size of
86
86
the spkac argument to a maximum of 2**31 - 1 bytes.
@@ -103,7 +103,7 @@ console.log(publicKey);
103
103
<!-- YAML
104
104
added: v9.0.0
105
105
changes:
106
- - version: REPLACEME
106
+ - version: v15.0.0
107
107
pr-url: https://github.com/nodejs/node/pull/35093
108
108
description: The spkac argument can be an ArrayBuffer. Added encoding.
109
109
Limited the size of the spkac argument to a maximum of
@@ -512,7 +512,7 @@ than once will result in an error being thrown.
512
512
<!-- YAML
513
513
added: v1.0.0
514
514
changes:
515
- - version: REPLACEME
515
+ - version: v15.0.0
516
516
pr-url: https://github.com/nodejs/node/pull/35093
517
517
description: The buffer argument can be a string or ArrayBuffer and is
518
518
limited to no more than 2 ** 31 - 1 bytes.
@@ -541,7 +541,7 @@ The `decipher.setAAD()` method must be called before [`decipher.update()`][].
541
541
<!-- YAML
542
542
added: v1.0.0
543
543
changes:
544
- - version: REPLACEME
544
+ - version: v15.0.0
545
545
pr-url: https://github.com/nodejs/node/pull/35093
546
546
description: The buffer argument can be a string or ArrayBuffer and is
547
547
limited to no more than 2 ** 31 - 1 bytes.
@@ -1455,7 +1455,7 @@ console.log(verify.verify(publicKey, signature));
1455
1455
<!-- YAML
1456
1456
added: v0.1.92
1457
1457
changes:
1458
- - version: REPLACEME
1458
+ - version: v15.0.0
1459
1459
pr-url: https://github.com/nodejs/node/pull/35093
1460
1460
description: The privateKey can also be an ArrayBuffer and CryptoKey.
1461
1461
- version: v12.0.0
@@ -1573,7 +1573,7 @@ This can be called many times with new data as it is streamed.
1573
1573
<!-- YAML
1574
1574
added: v0.1.92
1575
1575
changes:
1576
- - version: REPLACEME
1576
+ - version: v15.0.0
1577
1577
pr-url: https://github.com/nodejs/node/pull/35093
1578
1578
description: The object can also be an ArrayBuffer and CryptoKey.
1579
1579
- version: v12.0.0
@@ -1684,7 +1684,7 @@ This property is deprecated. Please use `crypto.setFips()` and
1684
1684
added: v0.1.94
1685
1685
deprecated: v10.0.0
1686
1686
changes:
1687
- - version: REPLACEME
1687
+ - version: v15.0.0
1688
1688
pr-url: https://github.com/nodejs/node/pull/35093
1689
1689
description: The password argument can be an ArrayBuffer and is limited to
1690
1690
a maximum of 2 ** 31 - 1 bytes.
@@ -1743,7 +1743,7 @@ Adversaries][] for details.
1743
1743
<!-- YAML
1744
1744
added: v0.1.94
1745
1745
changes:
1746
- - version: REPLACEME
1746
+ - version: v15.0.0
1747
1747
pr-url: https://github.com/nodejs/node/pull/35093
1748
1748
description: The password and iv arguments can be an ArrayBuffer and are
1749
1749
each limited to a maximum of 2 ** 31 - 1 bytes.
@@ -2020,7 +2020,7 @@ input.on('readable', () => {
2020
2020
<!-- YAML
2021
2021
added: v0.1.94
2022
2022
changes:
2023
- - version: REPLACEME
2023
+ - version: v15.0.0
2024
2024
pr-url: https://github.com/nodejs/node/pull/35093
2025
2025
description: The key can also be an ArrayBuffer or CryptoKey. The
2026
2026
encoding option was added. The key cannot contain
@@ -2074,7 +2074,7 @@ input.on('readable', () => {
2074
2074
<!-- YAML
2075
2075
added: v11.6.0
2076
2076
changes:
2077
- - version: REPLACEME
2077
+ - version: v15.0.0
2078
2078
pr-url: https://github.com/nodejs/node/pull/35093
2079
2079
description: The key can also be an ArrayBuffer. The encoding option was
2080
2080
added. The key cannot contain more than 2 ** 32 - 1 bytes.
@@ -2103,7 +2103,7 @@ of the passphrase is limited to 1024 bytes.
2103
2103
<!-- YAML
2104
2104
added: v11.6.0
2105
2105
changes:
2106
- - version: REPLACEME
2106
+ - version: v15.0.0
2107
2107
pr-url: https://github.com/nodejs/node/pull/35093
2108
2108
description: The key can also be an ArrayBuffer. The encoding option was
2109
2109
added. The key cannot contain more than 2 ** 32 - 1 bytes.
@@ -2145,7 +2145,7 @@ and it will be impossible to extract the private key from the returned object.
2145
2145
<!-- YAML
2146
2146
added: v11.6.0
2147
2147
changes:
2148
- - version: REPLACEME
2148
+ - version: v15.0.0
2149
2149
pr-url: https://github.com/nodejs/node/pull/35093
2150
2150
description: The key can also be an ArrayBuffer. The encoding argument was
2151
2151
added. The key cannot contain more than 2 ** 32 - 1 bytes.
@@ -2215,7 +2215,7 @@ Both keys must have the same `asymmetricKeyType`, which must be one of `'dh'`
2215
2215
2216
2216
### ` crypto.generateKey(type, options, callback) `
2217
2217
<!-- YAML
2218
- added: REPLACEME
2218
+ added: v15.0.0
2219
2219
-->
2220
2220
2221
2221
* ` type ` : {string} The intended use of the generated secret key. Currently
@@ -2245,7 +2245,7 @@ generateKey('hmac', { length: 64 }, (err, key) => {
2245
2245
2246
2246
### ` crypto.generateKeySync(type, options) `
2247
2247
<!-- YAML
2248
- added: REPLACEME
2248
+ added: v15.0.0
2249
2249
-->
2250
2250
2251
2251
* ` type ` : {string} The intended use of the generated secret key. Currently
@@ -2426,7 +2426,7 @@ console.log(ciphers); // ['aes-128-cbc', 'aes-128-ccm', ...]
2426
2426
2427
2427
### ` crypto.getCipherInfo(nameOrNid[, options]) `
2428
2428
<!-- YAML
2429
- added: REPLACEME
2429
+ added: v15.0.0
2430
2430
-->
2431
2431
2432
2432
* ` nameOrNid ` : {string|number} The name or nid of the cipher to query.
@@ -2525,7 +2525,7 @@ console.log(hashes); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...]
2525
2525
2526
2526
### ` crypto.hkdf(digest, key, salt, info, keylen, callback) `
2527
2527
<!-- YAML
2528
- added: REPLACEME
2528
+ added: v15.0.0
2529
2529
-->
2530
2530
2531
2531
* ` digest ` {string} The digest algorithm to use.
@@ -2562,7 +2562,7 @@ crypto.hkdf('sha512', 'key', 'salt', 'info', 64, (err, derivedKey) => {
2562
2562
2563
2563
### ` crypto.hkdfSync(digest, key, salt, info, keylen) `
2564
2564
<!-- YAML
2565
- added: REPLACEME
2565
+ added: v15.0.0
2566
2566
-->
2567
2567
2568
2568
* ` digest ` {string} The digest algorithm to use.
@@ -2597,7 +2597,7 @@ console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653'
2597
2597
<!-- YAML
2598
2598
added: v0.5.5
2599
2599
changes:
2600
- - version: REPLACEME
2600
+ - version: v15.0.0
2601
2601
pr-url: https://github.com/nodejs/node/pull/35093
2602
2602
description: The password and salt arguments can also be ArrayBuffer
2603
2603
instances.
@@ -2743,7 +2743,7 @@ An array of supported digest functions can be retrieved using
2743
2743
<!-- YAML
2744
2744
added: v0.11.14
2745
2745
changes:
2746
- - version: REPLACEME
2746
+ - version: v15.0.0
2747
2747
pr-url: https://github.com/nodejs/node/pull/35093
2748
2748
description: Added string, ArrayBuffer, and CryptoKey as allowable key
2749
2749
types. The oaepLabel can be an ArrayBuffer. The buffer can
@@ -2786,7 +2786,7 @@ object, the `padding` property can be passed. Otherwise, this function uses
2786
2786
<!-- YAML
2787
2787
added: v1.1.0
2788
2788
changes:
2789
- - version: REPLACEME
2789
+ - version: v15.0.0
2790
2790
pr-url: https://github.com/nodejs/node/pull/35093
2791
2791
description: Added string, ArrayBuffer, and CryptoKey as allowable key
2792
2792
types. The passphrase can be an ArrayBuffer. The buffer can
@@ -2824,7 +2824,7 @@ object, the `padding` property can be passed. Otherwise, this function uses
2824
2824
<!-- YAML
2825
2825
added: v1.1.0
2826
2826
changes:
2827
- - version: REPLACEME
2827
+ - version: v15.0.0
2828
2828
pr-url: https://github.com/nodejs/node/pull/35093
2829
2829
description: Added string, ArrayBuffer, and CryptoKey as allowable key
2830
2830
types. The passphrase can be an ArrayBuffer. The buffer can
@@ -2863,7 +2863,7 @@ be passed instead of a public key.
2863
2863
<!-- YAML
2864
2864
added: v0.11.14
2865
2865
changes:
2866
- - version: REPLACEME
2866
+ - version: v15.0.0
2867
2867
pr-url: https://github.com/nodejs/node/pull/35093
2868
2868
description: Added string, ArrayBuffer, and CryptoKey as allowable key
2869
2869
types. The oaepLabel and passphrase can be ArrayBuffers. The
@@ -3153,7 +3153,7 @@ console.log(`The dice rolled: ${n}`);
3153
3153
<!-- YAML
3154
3154
added: v10.5.0
3155
3155
changes:
3156
- - version: REPLACEME
3156
+ - version: v15.0.0
3157
3157
pr-url: https://github.com/nodejs/node/pull/35093
3158
3158
description: The password and salt arguments can also be ArrayBuffer
3159
3159
instances.
@@ -3350,7 +3350,7 @@ additional properties can be passed:
3350
3350
<!-- YAML
3351
3351
added: v6.6.0
3352
3352
changes:
3353
- - version: REPLACEME
3353
+ - version: v15.0.0
3354
3354
pr-url: https://github.com/nodejs/node/pull/35093
3355
3355
description: The a and b arguments can also be ArrayBuffer.
3356
3356
-->
@@ -3376,7 +3376,7 @@ not introduce timing vulnerabilities.
3376
3376
<!-- YAML
3377
3377
added: v12.0.0
3378
3378
changes:
3379
- - version: REPLACEME
3379
+ - version: v15.0.0
3380
3380
pr-url: https://github.com/nodejs/node/pull/35093
3381
3381
description: The data, key, and signature arguments can also be ArrayBuffer.
3382
3382
-->
@@ -3420,7 +3420,7 @@ key may be passed for `key`.
3420
3420
3421
3421
### ` crypto.webcrypto `
3422
3422
<!-- YAML
3423
- added: REPLACEME
3423
+ added: v15.0.0
3424
3424
-->
3425
3425
3426
3426
Type: {Crypto} An implementation of the Web Crypto API standard.
0 commit comments