File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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
25092509 * If ` type ` is ` 'hmac' ` , the minimum is 1, and the maximum length is
25102510 2<sup >31</sup >-1. If the value is not a multiple of 8, the generated
25112511 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 ` .
25132513* ` callback ` : {Function}
25142514 * ` err ` : {Error}
25152515 * ` key ` : {KeyObject}
@@ -2538,7 +2538,7 @@ added: v15.0.0
25382538 * If ` type ` is ` 'hmac' ` , the minimum is 1, and the maximum length is
25392539 2<sup >31</sup >-1. If the value is not a multiple of 8, the generated
25402540 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 ` .
25422542* Returns: {KeyObject}
25432543
25442544Synchronously generates a new random secret key of the given ` length ` . The
You can’t perform that action at this time.
0 commit comments