Skip to content

Commit 6ebf424

Browse files
doc: fix crypto.sign and crypto.verify accepted types
Signed-off-by: anshikakalpana <anshikajain196872@gmail.com>
1 parent c363bec commit 6ebf424

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/api/crypto.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6132,7 +6132,7 @@ changes:
61326132
<!--lint disable maximum-line-length remark-lint-->
61336133

61346134
* `algorithm` {string | null | undefined}
6135-
* `data` {ArrayBuffer|Buffer|TypedArray|DataView}
6135+
* `data` {ArrayBuffer|Buffer|SharedArrayBuffer|TypedArray|DataView|string}
61366136
* `key` {Object|string|ArrayBuffer|Buffer|TypedArray|DataView|KeyObject|CryptoKey}
61376137
* `callback` {Function}
61386138
* `err` {Error}
@@ -6264,9 +6264,9 @@ changes:
62646264
<!--lint disable maximum-line-length remark-lint-->
62656265

62666266
* `algorithm` {string|null|undefined}
6267-
* `data` {ArrayBuffer| Buffer|TypedArray|DataView}
6267+
* `data` {Buffer|TypedArray|DataView|string}
62686268
* `key` {Object|string|ArrayBuffer|Buffer|TypedArray|DataView|KeyObject|CryptoKey}
6269-
* `signature` {ArrayBuffer|Buffer|TypedArray|DataView}
6269+
* `signature` {Buffer|TypedArray|DataView}
62706270
* `callback` {Function}
62716271
* `err` {Error}
62726272
* `result` {boolean}

0 commit comments

Comments
 (0)