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 UlisesGascon committed Dec 11, 2023
1 parent c33a84a commit e238815
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/webcrypto.md
Expand Up @@ -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
Expand Down

0 comments on commit e238815

Please sign in to comment.