doc: add missing description of argument in subtle.encrypt

Description of third argument(data) in subtle.encrypt is missed,
so add it.

PR-URL: https://github.com/nodejs/node/pull/50578
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
Deokjin Kim authored and Michaël Zasso committed 2023-11-14 09:17:59 +01:00
1 parent ae4a7ba991
commit a656bf2dee
1 file changed
+1
+1
View File
@@ -684,6 +684,7 @@ added: v15.0.0
* `algorithm`: {RsaOaepParams|AesCtrParams|AesCbcParams|AesGcmParams}
* `key`: {CryptoKey}
* `data`: {ArrayBuffer|TypedArray|DataView|Buffer}
* Returns: {Promise} containing {ArrayBuffer}
Using the method and parameters specified by `algorithm` and the keying