File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2509,7 +2509,7 @@ added: v15.0.0
2509
2509
* If ` type ` is ` 'hmac' ` , the minimum is 1, and the maximum length is
2510
2510
2<sup >31</sup >-1. If the value is not a multiple of 8, the generated
2511
2511
key will be truncated to ` Math.floor(length / 8) ` .
2512
- * If ` type ` is ` 'aes' ` , the length must be one of ` 128 ` or ` 256 ` .
2512
+ * If ` type ` is ` 'aes' ` , the length must be one of ` 128 ` , ` 192 ` , or ` 256 ` .
2513
2513
* ` callback ` : {Function}
2514
2514
* ` err ` : {Error}
2515
2515
* ` key ` : {KeyObject}
@@ -2538,7 +2538,7 @@ added: v15.0.0
2538
2538
* If ` type ` is ` 'hmac' ` , the minimum is 1, and the maximum length is
2539
2539
2<sup >31</sup >-1. If the value is not a multiple of 8, the generated
2540
2540
key will be truncated to ` Math.floor(length / 8) ` .
2541
- * If ` type ` is ` 'aes' ` , the length must be one of ` 128 ` or ` 256 ` .
2541
+ * If ` type ` is ` 'aes' ` , the length must be one of ` 128 ` , ` 192 ` , or ` 256 ` .
2542
2542
* Returns: {KeyObject}
2543
2543
2544
2544
Synchronously generates a new random secret key of the given ` length ` . The
You can’t perform that action at this time.
0 commit comments