diff --git a/doc/api/crypto.md b/doc/api/crypto.md index b56420bce9a1c7..e43f3fa5dafc43 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -2509,7 +2509,7 @@ added: v15.0.0 * 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` or `256`. + * If `type` is `'aes'`, the length must be one of `128`, `192`, or `256`. * `callback`: {Function} * `err`: {Error} * `key`: {KeyObject} @@ -2538,7 +2538,7 @@ added: v15.0.0 * 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` or `256`. + * 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