From a656bf2deeb39411617748ecea0ddfc422ada120 Mon Sep 17 00:00:00 2001 From: Deokjin Kim Date: Wed, 8 Nov 2023 23:40:06 +0900 Subject: [PATCH] doc: add missing description of argument in `subtle.encrypt` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Tobias Nießen --- doc/api/webcrypto.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/webcrypto.md b/doc/api/webcrypto.md index 2cb6981b8794c9..0c5fa8b413b992 100644 --- a/doc/api/webcrypto.md +++ b/doc/api/webcrypto.md @@ -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