Skip to content

Commit

Permalink
doc: add missing description of argument in subtle.encrypt
Browse files Browse the repository at this point in the history
Description of third argument(data) in subtle.encrypt is missed,
so add it.

PR-URL: #50578
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
deokjinkim authored and targos committed Nov 14, 2023
1 parent ae4a7ba commit a656bf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/webcrypto.md
Expand Up @@ -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
Expand Down

0 comments on commit a656bf2

Please sign in to comment.