Skip to content

Commit

Permalink
doc: remove ArrayBuffer from crypto.hash() data parameter type
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Mar 13, 2024
1 parent 78be0d0 commit d183ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -3520,7 +3520,7 @@ added:
> Stability: 1.2 - Release candidate
* `algorithm` {string|undefined}
* `data` {string|ArrayBuffer|Buffer|TypedArray|DataView} When `data` is a
* `data` {string|Buffer|TypedArray|DataView} When `data` is a
string, it will be encoded as UTF-8 before being hashed. If a different
input encoding is desired for a string input, user could encode the string
into a `TypedArray` using either `TextEncoder` or `Buffer.from()` and passing
Expand Down

0 comments on commit d183ea8

Please sign in to comment.