From e2388151bac8dba4473073a6099ec62c7a5e862c 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 fdea21a3f6c8fb..1df81165322645 100644 --- a/doc/api/webcrypto.md +++ b/doc/api/webcrypto.md @@ -682,6 +682,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